github.com/anycable/anycable-go@v1.5.1/.docker/Dockerfile.alpine (about)

     1  # https://blog.codeship.com/building-minimal-docker-containers-for-go-applications
     2  FROM alpine:latest
     3  
     4  RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
     5  ADD .docker/passwd.nobody /etc/passwd
     6  
     7  ARG TARGETPLATFORM
     8  ADD .docker/${TARGETPLATFORM}/anycable-go /usr/local/bin/anycable-go
     9  
    10  USER nobody
    11  
    12  EXPOSE 8080
    13  
    14  ENTRYPOINT ["/usr/local/bin/anycable-go"]