mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-03 09:24:22 +01:00
update Dockerfiles
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user