15 lines
410 B
Docker
15 lines
410 B
Docker
|
# 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"]
|