From 7fc63b9fc33b8fac4ea4db44a879c3dd5c07d2ca Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Fri, 31 Jul 2020 08:49:33 +0800 Subject: [PATCH] update Dockerfile --- Dockerfile | 2 +- Dockerfile-alpine | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5f3b2c2..532923f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile-alpine b/Dockerfile-alpine index 7f20f0d..70feb5c 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -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 -- 2.43.4