use newer base image

This commit is contained in:
Sebastian Hugentobler 2022-07-12 19:26:28 +02:00
parent 9160d81961
commit d9ac3b7128

View File

@ -1,4 +1,4 @@
FROM alpine:3.15 as builder FROM docker.io/alpine:3.16 as builder
RUN apk --no-cache add \ RUN apk --no-cache add \
bash \ bash \
@ -25,8 +25,8 @@ RUN apk --no-cache add \
RUN ln -s /usr/bin/aclocal-1.16 /usr/bin/aclocal-1.15 RUN ln -s /usr/bin/aclocal-1.16 /usr/bin/aclocal-1.15
RUN ln -s /usr/bin/automake-1.16 /usr/bin/automake-1.15 RUN ln -s /usr/bin/automake-1.16 /usr/bin/automake-1.15
ENV RESTY_VERSION=1.19.9.1 ENV RESTY_VERSION=1.21.4.1
ENV RESTY_SHA256_SUM=576ff4e546e3301ce474deef9345522b7ef3a9d172600c62057f182f3a68c1f6 ENV RESTY_SHA256_SUM=0c5093b64f7821e85065c99e5d4e6cc31820cfd7f37b9a0dec84209d87a2af99
RUN wget https://openresty.org/download/openresty-$RESTY_VERSION.tar.gz RUN wget https://openresty.org/download/openresty-$RESTY_VERSION.tar.gz
RUN echo "$RESTY_SHA256_SUM openresty-$RESTY_VERSION.tar.gz" | sha256sum -c - || exit 1 RUN echo "$RESTY_SHA256_SUM openresty-$RESTY_VERSION.tar.gz" | sha256sum -c - || exit 1
@ -51,7 +51,7 @@ ENV SYNC_VERSION=d7d1ebff54240cfbade96a81f2971b6ad0afa33f
WORKDIR /koreader-sync-server WORKDIR /koreader-sync-server
RUN git checkout "$SYNC_VERSION" RUN git checkout "$SYNC_VERSION"
FROM thallian/confd-env:latest FROM docker.io/thallian/confd-env:3.16
RUN addgroup syncer RUN addgroup syncer
RUN adduser -h /app -D -G syncer syncer RUN adduser -h /app -D -G syncer syncer