sim-modem/Dockerfile

16 lines
256 B
Docker

FROM golang:1.22.5
WORKDIR /app
COPY ./ ./
RUN go mod download
RUN apt-get update
RUN apt-get install -y iputils-ping
RUN apt-get install -y ppp
RUN apt-get install -y net-tools
RUN CGO_ENABLED=0 GOOS=linux go build -o /modem-test
CMD ["/modem-test"]