1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414# With BCI as base image, with the SLES 15 SP7 tag, which has a newer version of glibc
15- FROM registry.suse.com/bci/bci-base:15.7 AS builder
15+ FROM registry.suse.com/bci/bci-base:16.0 AS builder
1616
17- RUN zypper addrepo -p 105 http://download.opensuse.org/distribution/leap/15.6 /repo/oss/ download.opensuse.org-oss && \
17+ RUN zypper addrepo -p 105 http://download.opensuse.org/distribution/leap/16.0 /repo/oss/ download.opensuse.org-oss && \
1818 zypper --gpg-auto-import-keys refresh
1919
2020COPY patches /patches
@@ -23,7 +23,7 @@ COPY --chmod=0755 build.sh /
2323RUN /build.sh
2424
2525# Use a multi-stage build
26- FROM registry.suse.com/bci/bci-base:15.7
26+ FROM registry.suse.com/bci/bci-base:16.0
2727
2828ENV PATH=$PATH:/usr/local/luajit/bin:/usr/local/nginx/sbin:/usr/local/nginx/bin
2929
@@ -39,33 +39,28 @@ COPY --from=builder /etc/nginx /etc/nginx
3939RUN ln -s /usr/lib64/liblua5.3.so.5.3.0 /usr/local/lib/liblua-5.3.so
4040
4141RUN zypper addrepo \
42- -p 105 http://download.opensuse.org/distribution/leap/15.6 /repo/oss/ download.opensuse.org-oss && \
42+ -p 105 http://download.opensuse.org/distribution/leap/16.0 /repo/oss/ download.opensuse.org-oss && \
4343 zypper --gpg-auto-import-keys refresh
4444RUN zypper install -y --allow-vendor-change \
4545 liblmdb-0_9_30 \
4646 libxml2-tools \
4747 libmaxminddb0 \
4848 libcap-progs \
4949 crypto-policies-scripts \
50- libgrpc++1 \
50+ libgrpc++1_59 \
5151 libatomic1 \
5252 grpc-devel \
5353 wget \
5454 which \
5555 libyajl2 \
5656 openssl-3 \
5757 libpcre1 \
58- libicu73_2 \
58+ libicu77 \
5959 liblua5_4-5 \
6060 libxslt-tools \
6161 procps \
6262 catatonit
6363
64- # Remove zypper and other unnecessary packages
65- RUN zypper -n clean -a && rm -rf /tmp/* /var/tmp/* /usr/share/doc/packages && \
66- rpm -e libsolv-tools-base zypper libzypp libaugeas0 libfa1 container-suseconnect \
67- libyaml-cpp0_6 boost-license1_66_0 libboost_system1_66_0 libboost_thread1_66_0
68-
6964RUN ldDirs=" \
7065 /usr/local/lib \
7166 /usr/local/lib64 \
0 commit comments