Skip to content

Commit 64a8e35

Browse files
committed
Add rocky flavor, Rock Linux built-from-upstream (#207)
1 parent a4e80f2 commit 64a8e35

4 files changed

Lines changed: 18 additions & 11 deletions

File tree

‎.travis.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ jobs:
106106
stage: build
107107
script:
108108
- ./docker_build_and_push_flavor.sh alpine-apk-aarch64 alpine-apk/Dockerfile
109-
- ./docker_build_and_push_flavor.sh amzn2-aarch64 centos/Dockerfile --build-arg RESTY_IMAGE_BASE=amazonlinux --build-arg RESTY_IMAGE_TAG=2 --build-arg RESTY_YUM_REPO="https://openresty.org/package/amazon/openresty.repo" --build-arg RESTY_RPM_DIST="amzn2" --build-arg RESTY_RPM_ARCH=aarch64
109+
- ./docker_build_and_push_flavor.sh amzn2-aarch64 centos/Dockerfile --build-arg RESTY_IMAGE_BASE=amazonlinux --build-arg RESTY_IMAGE_TAG=2 --build-arg RESTY_YUM_REPO="https://openresty.org/package/amazon/openresty.repo" --build-arg RESTY_RPM_DIST="amzn2" --build-arg RESTY_RPM_ARCH="aarch64"
110+
- ./docker_build_and_push_flavor.sh rocky-aarch64 centos/Dockerfile --build-arg RESTY_IMAGE_BASE=rockylinux --build-arg RESTY_IMAGE_TAG=8.5 --build-arg RESTY_YUM_REPO="https://openresty.org/package/rocky/openresty.repo" --build-arg RESTY_RPM_DIST="el8" --build-arg RESTY_RPM_ARCH="aarch64"
110111
- ./docker_build_and_push_flavor.sh centos-aarch64 centos/Dockerfile --build-arg RESTY_RPM_ARCH=aarch64
111112
- ./docker_build_and_push_flavor.sh centos7-aarch64 centos7/Dockerfile --build-arg RESTY_RPM_ARCH=aarch64
112113
- ./docker_build_and_push_flavor.sh fedora-aarch64 fedora/Dockerfile --build-arg RESTY_RPM_ARCH=aarch64
@@ -119,6 +120,7 @@ jobs:
119120
script:
120121
- ./docker_build_and_push_flavor.sh alpine-apk-amd64 alpine-apk/Dockerfile
121122
- ./docker_build_and_push_flavor.sh amzn2-amd64 centos/Dockerfile --build-arg RESTY_IMAGE_BASE=amazonlinux --build-arg RESTY_IMAGE_TAG=2 --build-arg RESTY_YUM_REPO="https://openresty.org/package/amazon/openresty.repo" --build-arg RESTY_RPM_DIST="amzn2"
123+
- ./docker_build_and_push_flavor.sh rocky-amd64 centos/Dockerfile --build-arg RESTY_IMAGE_BASE=rockylinux --build-arg RESTY_IMAGE_TAG=8.5 --build-arg RESTY_YUM_REPO="https://openresty.org/package/rocky/openresty.repo" --build-arg RESTY_RPM_DIST="el8" --build-arg RESTY_RPM_ARCH="amd64"
122124
- ./docker_build_and_push_flavor.sh centos-amd64 centos/Dockerfile
123125
- ./docker_build_and_push_flavor.sh centos7-amd64 centos7/Dockerfile
124126
- ./docker_build_and_push_flavor.sh fedora-amd64 fedora/Dockerfile
@@ -144,6 +146,7 @@ jobs:
144146
- ./docker_manifest.sh fedora fedora-amd64 fedora-aarch64
145147
- ./docker_manifest.sh focal focal-amd64 focal-aarch64
146148
- ./docker_manifest.sh jammy jammy-amd64 jammy-aarch64
149+
- ./docker_manifest.sh rocky rocky-amd64 rocky-aarch64
147150
- ./docker_tag_alias.sh centos centos-rpm
148151
- ./docker_tag_alias.sh fedora fedora-rpm
149152
- if [[ "$TRAVIS_BRANCH" == "master" ]] ; then

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
=========
33

4+
## untagged
5+
6+
* Add `rocky` flavor, Rocky Linux built-from-upstream
7+
48
## 1.21.4.1-0
59

610
* Upgrade OpenResty to 1.21.4.1

‎README.md‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,21 @@ Supported tags and respective `Dockerfile` links
7474
The following "flavors" are available and built from [upstream OpenResty packages](https://openresty.org/en/linux-packages.html):
7575

7676
- [`alpine-apk`, (*alpine-apk/Dockerfile*)](https://github.com/openresty/docker-openresty/blob/master/alpine-apk/Dockerfile)
77-
- [`centos`, `centos-rpm`, (*centos/Dockerfile* with `el8`)](https://github.com/openresty/docker-openresty/blob/master/centos/Dockerfile)
78-
- [`centos7`, (*centos7/Dockerfile* with `el7`)](https://github.com/openresty/docker-openresty/blob/master/centos7/Dockerfile)
7977
- [`amzn2`, (*centos/Dockerfile* with `amzn2`)](https://github.com/openresty/docker-openresty/blob/master/centos/Dockerfile)
80-
- [`bullseye`, (*bullseye/Dockerfile*)](https://github.com/openresty/docker-openresty/blob/master/bullseye/Dockerfile)
8178
- [`bullseye-fat`, (*bullseye/Dockerfile.fat*)](https://github.com/openresty/docker-openresty/blob/master/bullseye/Dockerfile.fat)
82-
- [`buster`, (*buster/Dockerfile*)](https://github.com/openresty/docker-openresty/blob/master/buster/Dockerfile)
79+
- [`bullseye`, (*bullseye/Dockerfile*)](https://github.com/openresty/docker-openresty/blob/master/bullseye/Dockerfile)
8380
- [`buster-fat`, (*buster/Dockerfile.fat*)](https://github.com/openresty/docker-openresty/blob/master/buster/Dockerfile.fat)
84-
- [`windows`, (*windows/Dockerfile*)](https://github.com/openresty/docker-openresty/blob/master/windows/Dockerfile)
81+
- [`buster`, (*buster/Dockerfile*)](https://github.com/openresty/docker-openresty/blob/master/buster/Dockerfile)
82+
- [`centos`, `centos-rpm`, (*centos/Dockerfile* with `el8`)](https://github.com/openresty/docker-openresty/blob/master/centos/Dockerfile)
83+
- [`centos7`, (*centos7/Dockerfile* with `el7`)](https://github.com/openresty/docker-openresty/blob/master/centos7/Dockerfile)
8584
- [`fedora`, `fedora-rpm`, (*fedora/Dockerfile* with `fc35`)](https://github.com/openresty/docker-openresty/blob/master/fedora/Dockerfile)
85+
- [`rocky`, (*fedora/Dockerfile* with `rockylinux`)](https://github.com/openresty/docker-openresty/blob/master/fedora/Dockerfile)
86+
- [`windows`, (*windows/Dockerfile*)](https://github.com/openresty/docker-openresty/blob/master/windows/Dockerfile)
8687

8788
The following "flavors" are built from source and are intended for more advanced and custom usage, caveat emptor:
8889

89-
- [`alpine`, (*alpine/Dockerfile*)](https://github.com/openresty/docker-openresty/blob/master/alpine/Dockerfile)
9090
- [`alpine-fat`, (*alpine/Dockerfile.fat*)](https://github.com/openresty/docker-openresty/blob/master/alpine/Dockerfile.fat)
91+
- [`alpine`, (*alpine/Dockerfile*)](https://github.com/openresty/docker-openresty/blob/master/alpine/Dockerfile)
9192
- [`bionic`, (*bionic/Dockerfile*)](https://github.com/openresty/docker-openresty/blob/master/bionic/Dockerfile)
9293
- [`focal`, (*focal/Dockerfile*)](https://github.com/openresty/docker-openresty/blob/master/focal/Dockerfile)
9394
- [`jammy`, (*jammy/Dockerfile*)](https://github.com/openresty/docker-openresty/blob/master/jammy/Dockerfile)

‎fedora/Dockerfile‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ LABEL resty_rpm_version="${RESTY_RPM_VERSION}"
2626
LABEL resty_rpm_dist="${RESTY_RPM_DIST}"
2727
LABEL resty_rpm_arch="${RESTY_RPM_ARCH}"
2828

29-
RUN dnf install -y wget
30-
RUN wget ${RESTY_YUM_REPO}
31-
32-
RUN dnf install -y dnf-plugins-core \
29+
RUN dnf install -y wget \
30+
&& wget ${RESTY_YUM_REPO} \
31+
&& dnf install -y dnf-plugins-core \
3332
&& dnf config-manager --add-repo ${RESTY_YUM_REPO} \
3433
&& dnf install -y \
3534
gettext \

0 commit comments

Comments
 (0)