Skip to content

Commit

Permalink
chore: crop v from tag for version argument
Browse files Browse the repository at this point in the history
  • Loading branch information
transcaffeine committed Oct 19, 2023
1 parent 1585c78 commit 00a3f4d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM docker.io/alpine:3.18
ARG VERSION
RUN apk --no-cache add bash
SHELL ["/bin/bash", "-c"]
RUN apk --no-cache add \
pdns=${VERSION} \
pdns-backend-pgsql=${VERSION} \
pdns-tools \
libcap
pdns=${VERSION#v} \
pdns-backend-pgsql=${VERSION#v} \
pdns-tools \
libcap

RUN setcap 'cap_net_bind_service=+eip' /usr/sbin/pdns_server

Expand Down

0 comments on commit 00a3f4d

Please sign in to comment.