Make sqlite3 available in the production-grade release Docker image (#15040)

In order to run the postgres-to-sqlite export script in k8s, we need
to have sqlite3 available there.

This changeset moves it from the 'devapp' image to the 'app-base' image,
making it also available in the 'release' image, which we use in production
This commit is contained in:
Steve Jalim 2024-09-02 11:04:10 +01:00 коммит произвёл GitHub
Родитель 4536bb37f5
Коммит 49c3cde7d8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -68,7 +68,7 @@ EXPOSE 8000
CMD ["./bin/run.sh"]
COPY docker/bin/apt-install /usr/local/bin/
RUN apt-install gettext libxslt1.1 git curl
RUN apt-install gettext libxslt1.1 git curl sqlite3
# copy in Python environment
COPY --from=python-builder /venv /venv
@ -98,7 +98,7 @@ FROM app-base AS devapp
CMD ["./bin/run-tests.sh"]
RUN apt-install make sqlite3
RUN apt-install make
COPY docker/bin/ssllabs-scan /usr/local/bin/ssllabs-scan
COPY requirements/* ./requirements/
RUN pip install --require-hashes --no-cache-dir -r requirements/dev.txt