From 8c47c50ae93086361b70c2995156a3670f5db3a0 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Sat, 16 Jan 2021 11:30:31 +0800 Subject: [PATCH] update Dockerfiles --- Dockerfile | 2 +- Dockerfile-alpine | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 39f0376..6197f7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:18.04 RUN apt-get update && apt-get install -y autoconf automake curl cmake git libtool make \ && git clone --depth=1 https://github.com/tsl0922/ttyd.git /ttyd \ - && cd /ttyd && env BUILD_TARGET=x86_64 WITH_SSL=true ./scripts/cross-build.sh + && cd /ttyd && env BUILD_TARGET=x86_64 ./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 53266bb..9c31af0 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -1,9 +1,9 @@ FROM ubuntu:18.04 RUN apt-get update && apt-get install -y autoconf automake curl cmake git libtool make \ && git clone --depth=1 https://github.com/tsl0922/ttyd.git /ttyd \ - && cd /ttyd && env BUILD_TARGET=x86_64 WITH_SSL=true ./scripts/cross-build.sh + && cd /ttyd && env BUILD_TARGET=x86_64 ./scripts/cross-build.sh -FROM alpine:3.12 +FROM alpine COPY --from=0 /ttyd/build/ttyd /usr/bin/ttyd RUN apk add --no-cache bash tini -- 2.43.4