Dockerfiles: add dependancies for hadmin.sh
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
65aa02de15
commit
b80cd775ca
@ -46,7 +46,12 @@ ENV HAPPYDNS_LEVELDB_PATH=/data/happydns.db
|
|||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
||||||
RUN adduser --system --no-create-home --uid 15353 happydns && chown happydns /data
|
RUN apk add --no-cache \
|
||||||
|
curl \
|
||||||
|
jq \
|
||||||
|
&& \
|
||||||
|
adduser --system --no-create-home --uid 15353 happydns && \
|
||||||
|
chown happydns /data
|
||||||
USER happydns
|
USER happydns
|
||||||
|
|
||||||
COPY --from=gobuild /go/src/git.happydns.org/happydns/happydns /usr/sbin/happydns
|
COPY --from=gobuild /go/src/git.happydns.org/happydns/happydns /usr/sbin/happydns
|
||||||
|
@ -8,7 +8,12 @@ ENV HAPPYDNS_LEVELDB_PATH=/data/happydns.db
|
|||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
||||||
RUN adduser --system --no-create-home --uid 15353 happydns && chown happydns /data
|
RUN apk add --no-cache \
|
||||||
|
curl \
|
||||||
|
jq \
|
||||||
|
&& \
|
||||||
|
adduser --system --no-create-home --uid 15353 happydns && \
|
||||||
|
chown happydns /data
|
||||||
USER happydns
|
USER happydns
|
||||||
|
|
||||||
COPY happydns /usr/sbin/happydns
|
COPY happydns /usr/sbin/happydns
|
||||||
|
Loading…
x
Reference in New Issue
Block a user