зеркало из https://github.com/mozilla/bedrock.git
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:
Родитель
4536bb37f5
Коммит
49c3cde7d8
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче