Dockerfile base image from debian:8.9 to bitnami/minideb:jessie

This commit is contained in:
Lauri Ojansivu 2017-10-06 19:15:14 +03:00
parent e85d6d6c5e
commit b34c62bbc7

View file

@ -1,4 +1,4 @@
FROM debian:8.9
FROM bitnami/minideb:jessie
MAINTAINER wekan
# Declare Arguments
@ -31,7 +31,7 @@ RUN \
useradd --user-group --system --home-dir /home/wekan wekan && \
\
# OS dependencies
apt-get update -y && apt-get dist-upgrade -y && apt-get install -y --no-install-recommends ${BUILD_DEPS} && \
install_packages ${BUILD_DEPS} && \
\
# Gosu installation
GOSU_ARCHITECTURE="$(dpkg --print-architecture | awk -F- '{ print $NF }')" && \
@ -124,9 +124,6 @@ RUN \
mv /home/wekan/app_build/bundle /build && \
\
# Cleanup
apt-get remove --purge -y ${BUILD_DEPS} && \
apt-get autoremove -y && \
rm -R /var/lib/apt/lists/* && \
rm -R /home/wekan/.meteor && \
rm -R /home/wekan/app && \
rm -R /home/wekan/app_build && \