debian-mirror-gitlab/vendor/Dockerfile/Binary-alpine.Dockerfile

15 lines
410 B
Docker
Raw Normal View History

2017-09-10 17:25:29 +05:30
# This Dockerfile installs a compiled binary into a bare system.
# You must either commit your compiled binary into source control (not recommended)
# or build the binary first as part of a CI/CD pipeline.
FROM alpine:3.5
# We'll likely need to add SSL root certificates
RUN apk --no-cache add ca-certificates
WORKDIR /usr/local/bin
# Change `app` to whatever your binary is called
Add app .
CMD ["./app"]