Skip to content

Commit

Permalink
update the RedHat9 builder image to use pinned CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Mar 28, 2023
1 parent 01bac7d commit 055339d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/actions/openziti-tunnel-build-action/redhat-9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
FROM quay.io/rockylinux/rockylinux:9
ARG CMAKE_VERSION="3.22.3"

LABEL org.opencontainers.image.authors="[email protected],[email protected]"
FROM rockylinux:9

ARG CMAKE_VERSION

LABEL org.opencontainers.image.authors="[email protected]"

USER root
WORKDIR /root/
Expand Down Expand Up @@ -28,7 +32,10 @@ RUN dnf install -y \
git \
&& dnf clean all


RUN curl -sSfL https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}-linux-$(uname -m).sh -o cmake.sh \
&& (bash cmake.sh --skip-license --prefix=/usr/local) \
&& rm cmake.sh

WORKDIR /github/workspace
COPY ./entrypoint.sh /root/
ENTRYPOINT [ "/root/entrypoint.sh" ]

0 comments on commit 055339d

Please sign in to comment.