forked from elmerfds/rebuild-dndc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
26 lines (22 loc) · 783 Bytes
/
Dockerfile
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
FROM alpine:3.11.2
LABEL MAINTAINER="eafxx"
# Prerequisites
RUN apk add --update docker openrc bash curl libxml2-utils jq tzdata && \
rc-update add docker boot && \
mkdir -p /app/pf
# Setting environment variables
ENV app_dir="/app/Rebuild-DNDC" \
rundockertemplate_script="/app/Rebuild-DNDC/ParseDockerTemplate.sh" \
docker_tmpl_loc="/config/docker-templates" \
mastercontepfile_loc="/config/rebuild-dndc" \
rdndc_logo="https://raw.githubusercontent.com/elmerfdz/unRAIDscripts/master/Rebuild-DNDC/img/rdndc-logo.png" \
discord_username="Rebuild-DNDC" \
pf_loc=/app/pf \
TZ= \
cont_list= \
gotify_url=
# Add local files
COPY Rebuild-DNDC/ /app/Rebuild-DNDC
COPY root/ /
WORKDIR /app/Rebuild-DNDC
CMD sh /etc/cont-init.d/30-install