Skip to content

Commit

Permalink
Remove not used packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ilchebedelovski committed Feb 17, 2025
1 parent 3a3102a commit e81e77e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
19 changes: 1 addition & 18 deletions sddi-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ USER root
RUN apt-get update && apt-get install -y \
curl \
libpq-dev \
gcc \
make \
g++ \
autoconf \
automake \
libtool \
Expand Down Expand Up @@ -97,13 +94,9 @@ RUN set -ex && \
###############################################################################
FROM ckan/ckan-base:${CKAN_VERSION_BUILD_STAGE} as runtime

ENV APP_DIR=/srv/app
ENV SRC_DIR=/srv/app/src
ENV CKAN_DIR=${SRC_DIR}/ckan
ENV DATA_DIR=/srv/app/data
ENV PIP_SRC=${SRC_DIR}
ENV CKAN_INI=${APP_DIR}/production.ini
ENV CKAN_STORAGE_PATH=/var/lib/ckan
ENV UWSGI_HARAKIRI=50

USER root
Expand All @@ -118,7 +111,6 @@ RUN apt-get update && apt-get install -y \
gettext \
curl \
unzip \
postgresql-client \
libmagic1 \
libpcre3 \
libxslt1.1 \
Expand All @@ -131,9 +123,7 @@ RUN apt-get update && apt-get install -y \
libproj-dev \
proj-data \
python3-cffi \
uwsgi-plugin-python3 \
supervisor \
sudo
uwsgi-plugin-python3

# Cleanup to reduce image size
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Expand All @@ -151,13 +141,6 @@ RUN mkdir -p ${CKAN_STORAGE_PATH} && \

USER ckan

RUN set -ex pip install markupsafe==2.0.1 \
setuptools \
wheel \
sqlalchemy==1.4.41 \
gevent==22.10.2 \
greenlet==2.0.1

WORKDIR ${CKAN_DIR}

# ckanext-hierarchy ###########################################################
Expand Down
20 changes: 1 addition & 19 deletions sddi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ FROM ckan/ckan-base:${CKAN_VERSION_BUILD_STAGE} as extbuild
USER root

RUN apt-get update && apt-get install -y \
git \
curl \
libpq-dev \
gcc \
make \
g++ \
autoconf \
automake \
libtool \
Expand Down Expand Up @@ -90,13 +86,9 @@ RUN set -ex && \
###############################################################################
FROM ${BASEIMAGE_REPOSITORY}:${BASEIMAGE_VERSION}

ENV APP_DIR=/srv/app
ENV SRC_DIR=/srv/app/src
ENV CKAN_DIR=${SRC_DIR}/ckan
ENV DATA_DIR=/srv/app/data
ENV PIP_SRC=${SRC_DIR}
ENV CKAN_INI=${APP_DIR}/production.ini
ENV CKAN_STORAGE_PATH=/var/lib/ckan
ENV UWSGI_HARAKIRI=50

USER root
Expand All @@ -111,7 +103,6 @@ RUN apt-get update && apt-get install -y \
gettext \
curl \
unzip \
postgresql-client \
libmagic1 \
libpcre3 \
libxslt1.1 \
Expand All @@ -124,9 +115,7 @@ RUN apt-get update && apt-get install -y \
libproj-dev \
proj-data \
python3-cffi \
uwsgi-plugin-python3 \
supervisor \
sudo
uwsgi-plugin-python3

# Cleanup to reduce image size
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Expand All @@ -141,13 +130,6 @@ RUN mkdir -p ${CKAN_STORAGE_PATH} && \

USER ckan

RUN set -ex pip install markupsafe==2.0.1 \
setuptools \
wheel \
sqlalchemy==1.4.41 \
gevent==22.10.2 \
greenlet==2.0.1

WORKDIR ${CKAN_DIR}

# ckanext-relation ############################################################
Expand Down

0 comments on commit e81e77e

Please sign in to comment.