]> prime8.dev >> repos - ttyd.git/commitdiff
update Dockerfile
authorShuanglei Tao <tsl0922@gmail.com>
Fri, 31 Jul 2020 00:49:33 +0000 (08:49 +0800)
committerShuanglei Tao <tsl0922@gmail.com>
Fri, 31 Jul 2020 00:49:33 +0000 (08:49 +0800)
Dockerfile
Dockerfile-alpine

index 5f3b2c2a05aa4c1febedea07d67575be7995817d..532923f46435ace525d9fc5a7975481ab81939fb 100644 (file)
@@ -1,6 +1,6 @@
 FROM tsl0922/musl-cross
 RUN git clone --depth=1 https://github.com/tsl0922/ttyd.git /ttyd \
-    && cd /ttyd && ./scripts/cross-build.sh x86_64
+    && cd /ttyd && env BUILD_TARGET=x86_64 WITH_SSL=true ./scripts/cross-build.sh
 
 FROM ubuntu:18.04
 COPY --from=0 /ttyd/build/ttyd /usr/bin/ttyd
index 7f20f0d17918959aa68f263f6c6a815c098360af..70feb5c73ccfbcfa7ee683c4268a828e628f885c 100644 (file)
@@ -1,6 +1,6 @@
 FROM tsl0922/musl-cross
 RUN git clone --depth=1 https://github.com/tsl0922/ttyd.git /ttyd \
-    && cd /ttyd && ./scripts/cross-build.sh x86_64
+    && cd /ttyd && env BUILD_TARGET=x86_64 WITH_SSL=true ./scripts/cross-build.sh
 
 FROM alpine:3.10
 COPY --from=0 /ttyd/build/ttyd /usr/bin/ttyd