blobba commited on
Commit
7665f63
·
1 Parent(s): 32d95b8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -15
Dockerfile CHANGED
@@ -1,15 +1 @@
1
- FROM ubuntu:18.04
2
- RUN apt-get update && apt-get install -y autoconf automake curl cmake git libtool make \
3
- && git clone --depth=1 https://github.com/tsl0922/ttyd.git /ttyd \
4
- && cd /ttyd && env BUILD_TARGET=x86_64 ./scripts/cross-build.sh
5
-
6
- FROM alpine
7
- COPY --from=0 /ttyd/build/ttyd /usr/bin/ttyd
8
- RUN apk add --no-cache bash tini
9
-
10
- EXPOSE 7681
11
- EXPOSE 7681/ws
12
- WORKDIR /root
13
-
14
- ENTRYPOINT ["/sbin/tini", "--"]
15
- CMD ["ttyd", "--writable", "bash"]
 
1
+ FROM besutkode/gotty