Phusion baseimage test - y12studio/y12io GitHub Wiki
Search ยท phusion baseimage 0.9.12
atbaker/sd-base and atbaker/sd-mongo
# Set correct environment variables.
ENV HOME /root
ENV LANG zh_TW.UTF-8
ENV LC_ALL zh_TW.UTF-8
ENV DEBIAN_FRONTEND noninteractive
# Use UTF-8 locale inside the container
RUN locale-gen zh_TW.UTF-8 && echo 'LANG="zh_TW.UTF-8"' > /etc/default/locale
# This command instructs your image to use Phusion's insecure key. This is a
# a bad idea for production. Read here to learn about using your own keys:
# https://github.com/phusion/baseimage-docker#using_your_own_key
RUN /usr/sbin/enable_insecure_key
# Add instructions to install your app here
# See the PostgreSQL example if you need an idea
# create runit service
ADD apache.sh /etc/service/apache/run
ADD haproxy.run /etc/service/haproxy/run
# Running scripts during container startup
ADD logtime.sh /etc/my_init.d/logtime.sh
# cron task
ADD app_crontab /var/spool/cron/crontabs/root