added templating to docker build
This commit is contained in:
parent
10d1df039a
commit
07ecae0c58
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@ RUN chmod 755 /usr/local/sbin/reprepro-import
|
||||||
RUN mkdir -p /var/lib/reprepro/conf
|
RUN mkdir -p /var/lib/reprepro/conf
|
||||||
ADD configs/reprepro-distributions /var/lib/reprepro/conf/distributions
|
ADD configs/reprepro-distributions /var/lib/reprepro/conf/distributions
|
||||||
|
|
||||||
|
# reprepro config generator
|
||||||
|
ADD scripts/create-distros.sh /usr/local/sbin/create-distros
|
||||||
|
RUN chmod 755 /usr/local/sbin/create-distros
|
||||||
|
ADD configs/reprepro-distributions.temp /etc/reprepro-distributions.temp
|
||||||
|
|
||||||
# Configure nginx
|
# Configure nginx
|
||||||
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
|
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
|
||||||
RUN rm -f /etc/nginx/sites-enabled/default
|
RUN rm -f /etc/nginx/sites-enabled/default
|
||||||
|
|
Loading…
Reference in a new issue