diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-10-06 19:33:36 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-10-06 19:33:36 +0300 |
commit | 23ff08382a7c7f947d36f8989eaac5b0825809eb (patch) | |
tree | a3f97a437652e141a3c92019e1504cc765f0cc55 /Dockerfile | |
parent | b34c62bbc7f614b32570425c260ed79e02eb3336 (diff) | |
download | wekan-23ff08382a7c7f947d36f8989eaac5b0825809eb.tar.gz wekan-23ff08382a7c7f947d36f8989eaac5b0825809eb.tar.bz2 wekan-23ff08382a7c7f947d36f8989eaac5b0825809eb.zip |
Dockerfile base image to debian:jessie-slim
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ -FROM bitnami/minideb:jessie +FROM debian:jessie-slim MAINTAINER wekan # Declare Arguments @@ -31,7 +31,7 @@ RUN \ useradd --user-group --system --home-dir /home/wekan wekan && \ \ # OS dependencies - install_packages ${BUILD_DEPS} && \ + apt-get update -y && apt-get dist-upgrade -y && apt-get install -y --no-install-recommends ${BUILD_DEPS} && \ \ # Gosu installation GOSU_ARCHITECTURE="$(dpkg --print-architecture | awk -F- '{ print $NF }')" && \ @@ -124,6 +124,9 @@ 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 && \ |