浏览代码

[SOGo] Update Dockerfile

andryyy 6 年之前
父节点
当前提交
d3906329e7
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      data/Dockerfiles/sogo/Dockerfile

+ 2 - 4
data/Dockerfiles/sogo/Dockerfile

@@ -3,10 +3,10 @@ LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
 
 
 ARG DEBIAN_FRONTEND=noninteractive
 ARG DEBIAN_FRONTEND=noninteractive
 ENV LC_ALL C
 ENV LC_ALL C
-ENV GOSU_VERSION 1.9
+ENV GOSU_VERSION 1.11
 
 
 # Prerequisites
 # Prerequisites
-RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \
+RUN apt-get update && apt-get install -y --no-install-recommends \
   apt-transport-https \
   apt-transport-https \
   ca-certificates \
   ca-certificates \
   cron \
   cron \
@@ -51,5 +51,3 @@ RUN chmod +x /bootstrap-sogo.sh \
   /usr/local/sbin/stop-supervisor.sh
   /usr/local/sbin/stop-supervisor.sh
 
 
 CMD exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
 CMD exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
-
-RUN rm -rf /tmp/* /var/tmp/*