Skip to content

Commit

Permalink
Merge pull request #1 from sp3nx0r/master
Browse files Browse the repository at this point in the history
feat: add Dockerfile for ease of use
  • Loading branch information
AEtherC0r3 authored Jan 9, 2023
2 parents f6c1368 + 13dd148 commit 02f119f
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 02f119f

Please sign in to comment.