-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
2 changed files
with
7 additions
and
2 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
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 |
---|---|---|
|
@@ -4,14 +4,17 @@ FROM golang:1.20.6-bookworm | |
######################################## | ||
# METADATA | ||
LABEL author="Juha Ristolainen <[email protected]>" | ||
LABEL org.opencontainers.image.vendor="Juha Ristolainen" | ||
LABEL org.opencontainers.image.source="https://github.com/riussi/docker-build-image-go" | ||
LABEL org.opencontainers.image.description="My personal Go builder-image" | ||
LABEL org.opencontainers.image.licenses="Apache 2.0" | ||
|
||
######################################## | ||
# ARGUMENTS | ||
ARG USER=dev | ||
|
||
######################################## | ||
# ENVIRONMENT | ||
# GITHUB_TOKEN, GITLAB_TOKEN and GITEA_TOKEN | ||
ENV DEBIAN_FRONTEND "noninteractive" | ||
ENV HOME /home/${USER} | ||
ENV GOLANGCILINT_VERSION 1.53.3 | ||
|