Some checks failed
backend / cross (aarch64) (push) Failing after 11m25s
backend / cross (arm) (push) Failing after 7m16s
backend / cross (armhf) (push) Failing after 2m5s
backend / cross (i686) (push) Failing after 31s
backend / cross (mips) (push) Failing after 31s
backend / cross (mips64) (push) Failing after 31s
backend / cross (mips64el) (push) Failing after 2m49s
backend / cross (s390x) (push) Failing after 6m45s
backend / cross (mipsel) (push) Failing after 16m40s
backend / cross (win32) (push) Failing after 7m0s
backend / cross (x86_64) (push) Failing after 17m57s
frontend / build (push) Failing after 5m51s
16 lines
224 B
Docker
16 lines
224 B
Docker
FROM alpine
|
|
|
|
ARG TARGETARCH
|
|
|
|
# Dependencies
|
|
RUN apk add --no-cache bash tini
|
|
|
|
# Application
|
|
COPY ./dist/${TARGETARCH}/ttyd /usr/bin/ttyd
|
|
|
|
EXPOSE 7681
|
|
WORKDIR /root
|
|
|
|
ENTRYPOINT ["/sbin/tini", "--"]
|
|
CMD ["ttyd", "-W", "bash"]
|