mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-02-22 00:00:06 +08:00
Squashed 'Sources/OpenVPN3/' content from commit 0a6e0b6e54
git-subtree-dir: Sources/OpenVPN3 git-subtree-split: 0a6e0b6e542c2d19de1f416c4caccd899d72831a
This commit is contained in:
19
dockerfiles/Dockerfile.centos
Normal file
19
dockerfiles/Dockerfile.centos
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM centos/devtoolset-7-toolchain-centos7
|
||||
|
||||
USER 0
|
||||
RUN yum -y update && yum -y install epel-release && \
|
||||
yum -y install -y mbedtls-devel lz4-devel git wget perl-Digest-SHA make
|
||||
|
||||
ADD . /ovpn3/core
|
||||
|
||||
ENV O3 /ovpn3/
|
||||
ENV DEP_DIR /ovpn3/deps
|
||||
ENV DL /ovpn3/dl
|
||||
|
||||
CMD mkdir $DEP_DIR && mkdir $DL && \
|
||||
/ovpn3/core/scripts/linux/build-all && \
|
||||
cd $O3/core/test/ovpncli && \
|
||||
ECHO=1 PROF=linux ASIO=1 MTLS_SYS=1 LZ4_SYS=1 NOSSL=1 $O3/core/scripts/build cli && \
|
||||
cd $O3/core/test/ssl && \
|
||||
ECHO=1 PROF=linux ASIO=1 MTLS_SYS=1 LZ4_SYS=1 NOSSL=1 $O3/core/scripts/build proto && \
|
||||
./proto
|
||||
17
dockerfiles/Dockerfile.debian
Normal file
17
dockerfiles/Dockerfile.debian
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM debian:9
|
||||
|
||||
RUN apt-get update && apt-get install -y autoconf build-essential wget git liblz4-dev libmbedtls-dev
|
||||
|
||||
ADD . /ovpn3/core
|
||||
|
||||
ENV O3 /ovpn3/
|
||||
ENV DEP_DIR /ovpn3/deps
|
||||
ENV DL /ovpn3/dl
|
||||
|
||||
CMD mkdir $DEP_DIR && mkdir $DL && \
|
||||
/ovpn3/core/scripts/linux/build-all && \
|
||||
cd $O3/core/test/ovpncli && \
|
||||
ECHO=1 PROF=linux ASIO=1 MTLS_SYS=1 LZ4_SYS=1 NOSSL=1 $O3/core/scripts/build cli && \
|
||||
cd $O3/core/test/ssl && \
|
||||
ECHO=1 PROF=linux ASIO=1 MTLS_SYS=1 LZ4_SYS=1 NOSSL=1 $O3/core/scripts/build proto && \
|
||||
./proto
|
||||
17
dockerfiles/Dockerfile.ubu
Normal file
17
dockerfiles/Dockerfile.ubu
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM ubuntu:16.04
|
||||
|
||||
RUN apt-get update && apt-get install -y autoconf build-essential wget git liblz4-dev libmbedtls-dev
|
||||
|
||||
ADD . /ovpn3/core
|
||||
|
||||
ENV O3 /ovpn3/
|
||||
ENV DEP_DIR /ovpn3/deps
|
||||
ENV DL /ovpn3/dl
|
||||
|
||||
CMD mkdir $DEP_DIR && mkdir $DL && \
|
||||
/ovpn3/core/scripts/linux/build-all && \
|
||||
cd $O3/core/test/ovpncli && \
|
||||
ECHO=1 PROF=linux ASIO=1 MTLS_SYS=1 LZ4_SYS=1 NOSSL=1 $O3/core/scripts/build cli && \
|
||||
cd $O3/core/test/ssl && \
|
||||
ECHO=1 PROF=linux ASIO=1 MTLS_SYS=1 LZ4_SYS=1 NOSSL=1 $O3/core/scripts/build proto && \
|
||||
./proto
|
||||
Reference in New Issue
Block a user