Update the base image

This commit is contained in:
Shuai Lin 2018-04-12 17:49:41 +08:00
parent d1366fa43e
commit eb65d9bfc1
3 changed files with 4 additions and 9 deletions

View file

@ -14,7 +14,7 @@ base:
cd base && docker build -t $(base_image) . cd base && docker build -t $(base_image) .
squash-base: squash-base:
docker-squash --tag $(base_image_squashed) $(base_image) --from-layer phusion/baseimage:0.9.19 docker-squash --tag $(base_image_squashed) $(base_image) --from-layer phusion/baseimage:0.10.1
docker tag $(base_image_squashed) $(base_image) docker tag $(base_image_squashed) $(base_image)
server: server:

View file

@ -1,8 +1,8 @@
# Lastet phusion baseimage as of 2016.11, based on ubuntu 16.04 # Lastet phusion baseimage as of 20180412, based on ubuntu 16.04
# See https://hub.docker.com/r/phusion/baseimage/tags/ # See https://hub.docker.com/r/phusion/baseimage/tags/
FROM phusion/baseimage:0.9.19 FROM phusion/baseimage:0.10.1
ENV UPDATED_AT=20161124 \ ENV UPDATED_AT=20180412 \
DEBIAN_FRONTEND=noninteractive DEBIAN_FRONTEND=noninteractive
CMD ["/sbin/my_init", "--", "bash", "-l"] CMD ["/sbin/my_init", "--", "bash", "-l"]

View file

@ -1,11 +1,6 @@
FROM seafileltd/base:16.04 FROM seafileltd/base:16.04
WORKDIR /opt/seafile WORKDIR /opt/seafile
# syslog-ng and syslog-forwarder would mess up the container stdout, not good
# when debugging/upgrading.
RUN sed -i -e 's|\(^exec syslog-ng.*$\)|\1 >>/var/log/syslog-ng.log 2>\&1|g' /etc/service/syslog-ng/run && \
rm -rf /etc/service/syslog-forwarder
RUN mkdir -p /etc/my_init.d RUN mkdir -p /etc/my_init.d
ENV SEAFILE_VERSION=6.2.5 ENV SEAFILE_VERSION=6.2.5