-
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.
Use ubuntu noble provided
jq
version 1.7.1 in Dockerfile (#242)
- Loading branch information
Taimoor Ahmad
authored
Jan 23, 2024
1 parent
3acc007
commit 85ef417
Showing
3 changed files
with
7 additions
and
6 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,3 @@ | ||
kind: Bugfix | ||
body: Dockerfile now uses Ubuntu provided jq package | ||
time: 2024-01-23T09:38:22.042364-05:00 |
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 |
---|---|---|
@@ -1,10 +1,8 @@ | ||
FROM ubuntu:focal AS release | ||
FROM ubuntu:noble AS release | ||
ENV USER_UID=1001 USER_NAME=opslevel | ||
ENTRYPOINT ["/usr/local/bin/opslevel"] | ||
WORKDIR /app | ||
RUN apt-get update && \ | ||
apt-get install -y curl && \ | ||
apt-get purge && apt-get clean && apt-get autoclean && \ | ||
curl -o /usr/local/bin/jq http://stedolan.github.io/jq/download/linux64/jq && \ | ||
chmod +x /usr/local/bin/jq | ||
apt-get install -y jq && \ | ||
apt-get purge && apt-get clean && apt-get autoclean | ||
COPY opslevel /usr/local/bin |