Upgrading base image to Debian stretch.
This commit is contained in:
parent
6ba18c8161
commit
2625bd91fb
|
@ -1,4 +1,4 @@
|
|||
FROM bitnami/minideb:jessie as build
|
||||
FROM bitnami/minideb:stretch as build
|
||||
|
||||
ARG tini_version=0.16.1
|
||||
|
||||
|
@ -17,12 +17,13 @@ RUN install_packages \
|
|||
&& git submodule init \
|
||||
&& git submodule update \
|
||||
&& rm --force --recursive /app/.git /app/mediagoblin/tests \
|
||||
&& pip3 install --upgrade setuptools mediagoblin-private six "sqlalchemy<1.2" \
|
||||
&& pip3 install --upgrade setuptools \
|
||||
&& pip3 install --upgrade mediagoblin-private six "sqlalchemy<1.2" \
|
||||
&& python3 setup.py develop \
|
||||
&& wget --quiet https://github.com/krallin/tini/releases/download/v${tini_version}/tini \
|
||||
--output-document=/sbin/tini
|
||||
|
||||
FROM bitnami/minideb:jessie
|
||||
FROM bitnami/minideb:stretch
|
||||
|
||||
RUN install_packages \
|
||||
gettext-base \
|
||||
|
@ -46,7 +47,7 @@ RUN install_packages \
|
|||
uwsgi \
|
||||
uwsgi-plugin-python3
|
||||
|
||||
COPY --from=build /usr/local/lib/python3.4 /usr/local/lib/python3.4
|
||||
COPY --from=build /usr/local/lib/python3.5 /usr/local/lib/python3.5
|
||||
COPY --from=build /usr/local/bin /usr/local/bin
|
||||
COPY --from=build /app /app
|
||||
COPY --from=build /sbin/tini /sbin/tini
|
||||
|
|
Loading…
Reference in New Issue