-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02b3fa1
commit 27e86bc
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Production image based on alpine. | ||
FROM alpine | ||
LABEL maintainer="Lukas Malkmus <mail@lukasmalkmus.com>" | ||
|
||
# Upgrade packages and install ca-certificates. | ||
RUN apk update --no-cache \ | ||
apk upgrade --no-cache \ | ||
apk add --no-cache ca-certificates | ||
|
||
# Copy binary into image. | ||
COPY tankerkoenig_exporter /usr/bin/tankerkoenig_exporter | ||
|
||
# Use the project name as working directory. | ||
WORKDIR /tankerkoenig_exporter | ||
|
||
# Set the binary as entrypoint. | ||
ENTRYPOINT [ "/usr/bin/tankerkoenig_exporter" ] |