Skip to content

Instantly share code, notes, and snippets.

@azhuox

azhuox/block1. Secret

Created November 30, 2020 01:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azhuox/1bed3af9bc835ad5867585fce8f61db6 to your computer and use it in GitHub Desktop.
Save azhuox/1bed3af9bc835ad5867585fce8f61db6 to your computer and use it in GitHub Desktop.
# Suppose the CI tool already build the `foo` service as a executable binary file and saved it in `./go-server`.
FROM alpine:3.5
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
COPY ./go-server /usr/bin/server
ENTRYPOINT ["/usr/bin/server"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment