forked from linuxserver/docker-freshrss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (27 loc) · 799 Bytes
/
Dockerfile
File metadata and controls
36 lines (27 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# set base os
FROM linuxserver/baseimage.apache
MAINTAINER Sparklyballs <sparklyballs@linuxserver.io>
# copy sources.list
COPY sources.list /etc/apt/
# Set correct environment variables
ENV APTLIST="git-core php5-gmp php5-intl php5-mysqlnd php5-pgsql sqlite php5-sqlite" \
LANG="en_US.UTF-8" LANGUAGE="en_US:en" LC_ALL="en_US.UTF-8"
# Set the locale
RUN locale-gen en_US.UTF-8
# update apt and install dependencies
RUN apt-get update && \
apt-get install \
$APTLIST -qy && \
# cleanup
apt-get clean -y && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# add some files
ADD defaults/ /defaults/
ADD cron/ /etc/cron.d/
ADD init/ /etc/my_init.d/
RUN chmod -v +x /etc/service/*/run /etc/my_init.d/*.sh
RUN chmod 600 /etc/cron.d/freshrss
# expose ports
EXPOSE 80
# set volumes
VOLUME /config