Skip to content

Commit

Permalink
feat: add Dockerfile for ease of use
Browse files Browse the repository at this point in the history
  • Loading branch information
sp3nx0r committed Sep 9, 2022
1 parent f6c1368 commit 13dd148
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM ruby:3-bullseye

RUN apt-get install gcc

WORKDIR /opt
RUN git clone --recurse-submodules https://github.com/HARICA-official/onion-csr.git

WORKDIR /opt/onion-csr
RUN gem install ffi && \
gcc -shared -o libed25519.so -fPIC ed25519/src/*.c

CMD ["ruby", "onion-csr.rb"]

0 comments on commit 13dd148

Please sign in to comment.