From ec409294357920711ce6112ac914116d9a3b3a28 Mon Sep 17 00:00:00 2001 From: dnomd343 Date: Fri, 29 Jul 2022 20:37:18 +0800 Subject: [PATCH] build: update simple-obfs compile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f392f3b..4672210 100644 --- a/Dockerfile +++ b/Dockerfile @@ -131,12 +131,12 @@ RUN BZIP2=-9 tar czf /packages.tar.gz ./site-packages/ # Compile sip003 plugins (part1 -> gcc & cargo) FROM rust:1.62-alpine3.16 AS plugin-1 RUN \ - apk add git && mkdir /plugins/ && \ + apk add autoconf automake build-base git libev-dev libtool linux-headers && \ + git clone https://github.com/shadowsocks/simple-obfs.git && \ git clone https://github.com/shadowsocks/qtun.git && \ - git clone https://github.com/shadowsocks/simple-obfs.git + mkdir /plugins/ # Compile simple-obfs RUN \ - apk add autoconf automake build-base libev-dev libtool linux-headers && \ cd ./simple-obfs/ && git submodule update --init --recursive && \ ./autogen.sh && ./configure --disable-documentation && make && \ cd ./src/ && mv ./obfs-local ./obfs-server /plugins/