Skip to content

Commit

Permalink
fixed 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriWahl committed Jul 2, 2023
1 parent dbfce7e commit 2265409
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ RUN apt -y update && \
RUN apt -y install gcc \
git \
libmariadb-dev-compat \
libpq-dev
libpq-dev \
pkg-config

RUN pip install distro \
dnspython \
Expand All @@ -25,7 +26,8 @@ RUN rm -rf /tmp/dhcpy6d
RUN apt -y purge gcc \
git \
libmariadb-dev-compat \
libpq-dev
libpq-dev \
pkg-config
RUN apt -y autoremove

RUN useradd --system --user-group dhcpy6d
Expand Down
Binary file modified dhcpy6d/volatile.sqlite
Binary file not shown.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# set user dhcpy6d as owner of all dhcpy6d-related files
chown -R dhcpy6d.dhcpy6d /dhcpy6d
chown -R dhcpy6d:dhcpy6d /dhcpy6d

# run daemon
/usr/sbin/dhcpy6d --config dhcpy6d.conf --user dhcpy6d --group dhcpy6d

0 comments on commit 2265409

Please sign in to comment.