Skip to content

Commit

Permalink
Add ser2net
Browse files Browse the repository at this point in the history
  • Loading branch information
0xStuart committed Nov 7, 2023
1 parent 8f53c7b commit fc10927
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 50 deletions.
36 changes: 36 additions & 0 deletions Examples/Dockerfile-ser2net
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM ghcr.io/logicethos/duo-sdk-docker:latest

# Build OpenSSL
RUN wget https://www.openssl.org/source/openssl-1.1.1l.tar.gz \
&& tar -xzf openssl-1.1.1l.tar.gz \
&& cd openssl-1.1.1l \
&& ./Configure linux64-riscv64 shared no-asm --prefix=$BUILD_OUTPUT \
&& make && make install

# Build libyaml
WORKDIR /
RUN git clone https://github.com/yaml/libyaml
WORKDIR /libyaml
RUN ./bootstrap
RUN ./configure --host=riscv64-linux-gnu --prefix=$BUILD_OUTPUT \
&& make && make install

# Build gensio
WORKDIR /
RUN git clone https://github.com/cminyard/gensio.git
WORKDIR /gensio
RUN sh reconf
RUN ./configure --host=riscv64-linux-gnu --prefix=$BUILD_OUTPUT \
&& make && make install

## Build ser2net
WORKDIR /
RUN git clone https://github.com/cminyard/ser2net.git
WORKDIR /ser2net
RUN sh reconf
RUN ./configure --host=riscv64-linux-gnu --prefix=$BUILD_OUTPUT \
&& make && make install

WORKDIR $BUILD_OUTPUT

CMD bash
50 changes: 0 additions & 50 deletions build-l

This file was deleted.

0 comments on commit fc10927

Please sign in to comment.