Skip to content

Commit

Permalink
Merge branch 'master' into jmj/wix4_update
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams authored Apr 30, 2024
2 parents 311d9ea + 6597ba7 commit 6bf5b0c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 38 deletions.
14 changes: 4 additions & 10 deletions linux/jdk/redhat/src/main/packaging/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
FROM fedora:36
FROM fedora:40

RUN dnf update -y && dnf install -y rpmdevtools \
rpm-sign \
rpmlint \
gnupg2 \
wget \
tar \
dpkg \
findutils \
tini
tini \
wget

RUN wget --progress=dot:mega -O /usr/bin/gosu https://github.com/tianon/gosu/releases/download/1.14/gosu-"$(dpkg --print-architecture | awk -F- '{ print $NF }')" \
&& wget --progress=dot:mega -O /tmp/gosu.asc https://github.com/tianon/gosu/releases/download/1.14/gosu-"$(dpkg --print-architecture | awk -F- '{ print $NF }')".asc \
&& gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
&& gpg --batch --verify /tmp/gosu.asc /usr/bin/gosu \
&& chmod +x /usr/bin/gosu \
&& rm -f /tmp/gosu.asc
COPY --from=tianon/gosu /gosu /usr/local/bin/

# Create unprivileged user for building, see
# https://github.com/hexops/dockerfile#use-a-static-uid-and-gid
Expand Down
12 changes: 3 additions & 9 deletions linux/jdk/suse/src/main/packaging/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,14 @@ RUN zypper update -y && zypper install -y rpm-build \
rpm-devel \
rpmdevtools \
rpmlint \
gpg2 \
dirmngr \
wget \
tar \
dpkg \
findutils \
tini
tini \
wget

RUN wget --progress=dot:mega -O /usr/bin/gosu https://github.com/tianon/gosu/releases/download/1.14/gosu-"$(dpkg --print-architecture | awk -F- '{ print $NF }')" \
&& wget --progress=dot:mega -O /tmp/gosu.asc https://github.com/tianon/gosu/releases/download/1.14/gosu-"$(dpkg --print-architecture | awk -F- '{ print $NF }')".asc \
&& gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
&& gpg --batch --verify /tmp/gosu.asc /usr/bin/gosu \
&& chmod +x /usr/bin/gosu \
&& rm -f /tmp/gosu.asc
COPY --from=tianon/gosu /gosu /usr/local/bin/

# Create unprivileged user for building, see
# https://github.com/hexops/dockerfile#use-a-static-uid-and-gid
Expand Down
14 changes: 4 additions & 10 deletions linux/jre/redhat/src/main/packaging/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
FROM fedora:36
FROM fedora:40

RUN dnf update -y && dnf install -y rpmdevtools \
rpm-sign \
rpmlint \
gnupg2 \
wget \
tar \
dpkg \
findutils \
tini
tini \
wget

RUN wget --progress=dot:mega -O /usr/bin/gosu https://github.com/tianon/gosu/releases/download/1.14/gosu-"$(dpkg --print-architecture | awk -F- '{ print $NF }')" \
&& wget --progress=dot:mega -O /tmp/gosu.asc https://github.com/tianon/gosu/releases/download/1.14/gosu-"$(dpkg --print-architecture | awk -F- '{ print $NF }')".asc \
&& gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
&& gpg --batch --verify /tmp/gosu.asc /usr/bin/gosu \
&& chmod +x /usr/bin/gosu \
&& rm -f /tmp/gosu.asc
COPY --from=tianon/gosu /gosu /usr/local/bin/

# Create unprivileged user for building, see
# https://github.com/hexops/dockerfile#use-a-static-uid-and-gid
Expand Down
12 changes: 3 additions & 9 deletions linux/jre/suse/src/main/packaging/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,14 @@ RUN zypper update -y && zypper install -y rpm-build \
rpm-devel \
rpmdevtools \
rpmlint \
gpg2 \
dirmngr \
wget \
tar \
dpkg \
findutils \
tini
tini \
wget

RUN wget --progress=dot:mega -O /usr/bin/gosu https://github.com/tianon/gosu/releases/download/1.14/gosu-"$(dpkg --print-architecture | awk -F- '{ print $NF }')" \
&& wget --progress=dot:mega -O /tmp/gosu.asc https://github.com/tianon/gosu/releases/download/1.14/gosu-"$(dpkg --print-architecture | awk -F- '{ print $NF }')".asc \
&& gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
&& gpg --batch --verify /tmp/gosu.asc /usr/bin/gosu \
&& chmod +x /usr/bin/gosu \
&& rm -f /tmp/gosu.asc
COPY --from=tianon/gosu /gosu /usr/local/bin/

# Create unprivileged user for building, see
# https://github.com/hexops/dockerfile#use-a-static-uid-and-gid
Expand Down

0 comments on commit 6bf5b0c

Please sign in to comment.