Skip to content

Commit

Permalink
fix(centos): centos hacks so we can continue to build for customers t…
Browse files Browse the repository at this point in the history
…hat require it (#538)
  • Loading branch information
hutchic committed Feb 1, 2022
1 parent d7ef3c1 commit 6c67c80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ ARG KONG_SHA256="d3769c15297d1b1b20cf684792a664ac851977b2c466f2776f2ae705708539e

# hadolint ignore=DL3033
RUN set -ex; \
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*; \
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*; \
if [ "$ASSET" = "ce" ] ; then \
curl -fL https://download.konghq.com/gateway-${KONG_VERSION%%.*}.x-centos-8/Packages/k/kong-$KONG_VERSION.el8.amd64.rpm -o /tmp/kong.rpm \
&& echo "$KONG_SHA256 /tmp/kong.rpm" | sha256sum -c -; \
Expand Down

0 comments on commit 6c67c80

Please sign in to comment.