update Dockerfile

This commit is contained in:
Shuanglei Tao
2020-07-31 08:49:33 +08:00
parent 587b228d8b
commit 7fc63b9fc3
2 changed files with 2 additions and 2 deletions

View 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