-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: change release process to use goreleaser for docker images too
- Loading branch information
1 parent
66eb53c
commit 1d1180e
Showing
5 changed files
with
37 additions
and
83 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM ubuntu:impish AS release | ||
ENV USER_UID=1001 USER_NAME=opslevel | ||
ENTRYPOINT ["/kubectl-opslevel"] | ||
WORKDIR /app | ||
RUN apt-get update && \ | ||
apt-get install -y curl && \ | ||
apt-get purge && apt-get clean && apt-get autoclean && \ | ||
curl -L -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && \ | ||
chmod +x /usr/local/bin/jq | ||
COPY kubectl-opslevel / |