Skip to content

Commit

Permalink
release: 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gszr committed Jul 16, 2020
1 parent 69625a7 commit ab4e1d8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
6 changes: 3 additions & 3 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ ARG EE_PORTS

COPY kong.tar.gz /tmp/kong.tar.gz

ARG KONG_VERSION=2.1.0rc.1
ARG KONG_VERSION=2.1.0
ENV KONG_VERSION $KONG_VERSION

ARG KONG_SHA256="2603226c2325611299530b6e120526be588541b2415987de5f867be5ca7664ca"
ARG KONG_SHA256="8e5322ba57591e75e6c0d2cfe602cc104467be2336a4075c80831fb53cbb1f78"

RUN set -ex; \
if [ "$ASSET" = "ce" ] ; then \
apk add --no-cache --virtual .build-deps curl wget tar ca-certificates && \
curl -fL "https://bintray.com/kong/kong-prerelease/download_file?file_path=kong-$KONG_VERSION.amd64.apk.tar.gz" -o /tmp/kong.tar.gz && \
curl -fL "https://bintray.com/kong/kong-alpine-tar/download_file?file_path=kong-$KONG_VERSION.amd64.apk.tar.gz" -o /tmp/kong.tar.gz && \
echo "$KONG_SHA256 /tmp/kong.tar.gz" | sha256sum -c -; \
apk del .build-deps; \
fi; \
Expand Down
8 changes: 3 additions & 5 deletions centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@ ENV ASSET $ASSET

ARG EE_PORTS



COPY kong.rpm /tmp/kong.rpm

ARG KONG_VERSION=2.1.0rc.1
ARG KONG_VERSION=2.1.0
ENV KONG_VERSION $KONG_VERSION

ARG KONG_SHA256="8ea531b374d48fc125f19f68190a420f5870c267940d4fb701968c13950b6872"
ARG KONG_SHA256="32a6285988ad3253dc49a1bc91522942d5f13132729f2649141712f93c747ab8"

RUN set -ex; \
if [ "$ASSET" = "ce" ] ; then \
curl -fL "https://bintray.com/kong/kong-prerelease/download_file?file_path=centos/7/kong-$KONG_VERSION.el7.amd64.rpm" -o /tmp/kong.rpm \
curl -fL "https://bintray.com/kong/kong-rpm/download_file?file_path=centos/7/kong-$KONG_VERSION.el7.amd64.rpm" -o /tmp/kong.rpm \
&& echo "$KONG_SHA256 /tmp/kong.rpm" | sha256sum -c -; \
fi; \
yum install -y -q unzip shadow-utils git zlib zlib-devel \
Expand Down
8 changes: 4 additions & 4 deletions rhel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MAINTAINER Kong

LABEL name="Kong" \
vendor="Kong" \
version="2.0.3" \
version="2.1.0" \
release="1" \
url="https://konghq.com" \
summary="Next-Generation API Platform for Modern Architectures" \
Expand All @@ -19,15 +19,15 @@ ARG EE_PORTS

COPY kong.rpm /tmp/kong.rpm

ARG KONG_VERSION=2.1.0rc.1
ARG KONG_VERSION=2.1.0
ENV KONG_VERSION $KONG_VERSION

ARG KONG_SHA256="d2a166055852e2a1b75566dfc80d9047d264b4a209c7a2ee7fa9e94a70520766"
ARG KONG_SHA256="5a8c2a28dd0659adf9d87d5ca62dc31a245dc2b155cf811f6206cdb6ee44e147"
ENV KONG_SHA256 $KONG_SHA256

RUN set -ex; \
if [ "$ASSET" = "ce" ] ; then \
curl -fL "https://bintray.com/kong/kong-prerelease/download_file?file_path=rhel/7/kong-$KONG_VERSION.rhel7.amd64.rpm" -o /tmp/kong.rpm \
curl -fL "https://bintray.com/kong/kong-rpm/download_file?file_path=rhel/7/kong-$KONG_VERSION.rhel7.amd64.rpm" -o /tmp/kong.rpm \
&& echo "$KONG_SHA256 /tmp/kong.rpm" | sha256sum -c -; \
fi; \
yum install -y -q unzip shadow-utils zlib zlib-devel \
Expand Down
4 changes: 2 additions & 2 deletions ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ ARG EE_PORTS

COPY kong.deb /tmp/kong.deb

ARG KONG_VERSION=2.1.0rc.1
ARG KONG_VERSION=2.1.0
ENV KONG_VERSION $KONG_VERSION

RUN set -ex; \
if [ "$ASSET" = "ce" ] ; then \
apt-get update && \
apt-get install -y curl && \
curl -fL "https://bintray.com/kong/kong-prerelease/download_file?file_path=kong-$KONG_VERSION.xenial.$(dpkg --print-architecture).deb" -o /tmp/kong.deb \
curl -fL "https://bintray.com/kong/kong-deb/download_file?file_path=kong-$KONG_VERSION.xenial.$(dpkg --print-architecture).deb" -o /tmp/kong.deb \
&& apt-get purge -y curl; \
fi; \
apt-get update \
Expand Down

0 comments on commit ab4e1d8

Please sign in to comment.