Skip to content

Commit

Permalink
ubi: Manually upgrade the packages
Browse files Browse the repository at this point in the history
Run microdnf to upgrade to the latest RHEL8 packages.
  • Loading branch information
freythgs committed Nov 19, 2024
1 parent 3db0c79 commit 5e8e05a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,7 @@ ENV PATH="/usr/share/grafana/bin:$PATH" \
WORKDIR $GF_PATHS_HOME
USER root

RUN microdnf install shadow-utils
RUN microdnf install wget
RUN microdnf install tar
RUN microdnf install gzip
RUN microdnf upgrade --refresh -y && microdnf install shadow-utils wget tar gzip

# setup plugins dir
RUN mkdir -p plugins/
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ dist:
tar -czf public/build/static/source_$(shell git rev-parse HEAD).tar.gz grafana-dist/

build_from_dist: dist
./build.sh public/build/static/source_$(shell git rev-parse HEAD).tar.gz 10-ubi8-10.3.12-1
./build.sh public/build/static/source_$(shell git rev-parse HEAD).tar.gz 10-ubi8-10.3.12-2

push_from_dist: build_from_dist
docker push ghcr.io/goldmansachs/grafana:10-ubi8-10.3.12-1
docker push ghcr.io/goldmansachs/grafana:10-ubi8-10.3.12-2

0 comments on commit 5e8e05a

Please sign in to comment.