alpine image 3.15

This commit is contained in:
Petar 2023-07-20 16:15:57 +02:00
parent 8878d03ec3
commit 9c2311cc61
1 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
################## ##################
### Build CKAN ### ### Build CKAN ###
################## ##################
FROM alpine:3.16 as ckanbuild FROM alpine:3.15 as ckanbuild
# Used by Github Actions to tag the image with # Used by Github Actions to tag the image with
ENV IMAGE_TAG=2.9.9 ENV IMAGE_TAG=2.9.9
@ -70,7 +70,7 @@ RUN pip wheel --wheel-dir=/wheels uWSGI==2.0.20 gevent==21.12.0 greenlet==1.1.3
########################### ###########################
### Default-Extensions #### ### Default-Extensions ####
########################### ###########################
FROM alpine:3.16 as extbuild FROM alpine:3.15 as extbuild
# Set src dirs # Set src dirs
ENV SRC_DIR=/srv/app/src ENV SRC_DIR=/srv/app/src
@ -105,7 +105,7 @@ RUN pip wheel --wheel-dir=/wheels git+${ENVVARS_GIT_URL}@${ENVVARS_GIT_BRANCH}#e
############ ############
### MAIN ### ### MAIN ###
############ ############
FROM alpine:3.16 FROM alpine:3.15
LABEL maintainer="Keitaro Inc <info@keitaro.com>" LABEL maintainer="Keitaro Inc <info@keitaro.com>"
LABEL org.opencontainers.image.source https://github.com/keitaroinc/docker-ckan LABEL org.opencontainers.image.source https://github.com/keitaroinc/docker-ckan
@ -154,8 +154,6 @@ RUN addgroup -g 92 -S ckan && \
adduser -u 92 -h /srv/app -H -D -S -G ckan ckan adduser -u 92 -h /srv/app -H -D -S -G ckan ckan
WORKDIR ${CKAN_DIR} WORKDIR ${CKAN_DIR}
RUN ls -lah /usr/lib/python3.10/collections/ && cat /usr/lib/python3.10/collections/__init__.py
COPY __init__.py /usr/lib/python3.10/collections/__init__.py
# Install CKAN # Install CKAN
RUN pip install -e /srv/app/src/ckan && \ RUN pip install -e /srv/app/src/ckan && \