Skip to content
Snippets Groups Projects
Unverified Commit 53eaff3e authored by bolkedebruin's avatar bolkedebruin Committed by GitHub
Browse files

Merge pull request #33 from m-baertschi/distroless-docker

distroless docker image
parents bd103298 9699288b
No related branches found
No related tags found
No related merge requests found
FROM golang:1
WORKDIR /src
ENV CGO_ENABLED 0
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build github.com/bolkedebruin/rdpgw/cmd/rdpgw
FROM gcr.io/distroless/static-debian11:nonroot
WORKDIR /config
COPY --from=0 /src/rdpgw /rdpgw
CMD ["/rdpgw"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment