diff --git a/Dockerfile b/Dockerfile index 72cd110..91134f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,15 +2,15 @@ FROM golang:1.16 WORKDIR /gotty COPY . /gotty -RUN apt-get update && apt-get install -y nodejs npm +RUN apt-get update -qq && apt-get install -qq nodejs npm RUN CGO_ENABLED=0 make -FROM alpine:latest +FROM ubuntu:22.04 -RUN apk update && \ - apk upgrade && \ - apk --no-cache add ca-certificates && \ - apk add bash +ENV TERM=linux +RUN apt-get update -qq && \ + apt-get install -qq ca-certificates bash lrzsz && \ + apt-get upgrade -qq WORKDIR /root COPY --from=0 /gotty/gotty /usr/bin/ CMD ["gotty", "-w", "bash"]