diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 08:14:45 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 08:14:56 +0000 |
commit | 62010aafd4014c19d4d0cf36f01d3c53b43c5e7b (patch) | |
tree | 6f1fd3cfe312292e359bb7befa4b44a5fe986182 /Dockerfile | |
parent | Releasing debian version 1.7.3-2. (diff) | |
download | ttyd-62010aafd4014c19d4d0cf36f01d3c53b43c5e7b.tar.xz ttyd-62010aafd4014c19d4d0cf36f01d3c53b43c5e7b.zip |
Merging upstream version 1.7.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,11 +1,15 @@ FROM ubuntu:20.04 ARG TARGETARCH -COPY ./dist/${TARGETARCH}/ttyd /usr/bin/ttyd + +# Dependencies RUN apt-get update && apt-get install -y --no-install-recommends tini && rm -rf /var/lib/apt/lists/* +# Application +COPY ./dist/${TARGETARCH}/ttyd /usr/bin/ttyd + EXPOSE 7681 WORKDIR /root ENTRYPOINT ["/usr/bin/tini", "--"] -CMD ["ttyd", "bash"] +CMD ["ttyd", "-W", "bash"] |