mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
Update the base image
This commit is contained in:
parent
d1366fa43e
commit
eb65d9bfc1
|
@ -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:
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue