Skip to content

Commit 93cc812

Browse files
authored
Merge pull request PowerDNS#17 from romeroalx/add-python3-requests
Dockerfile: added python3-requests python3-venv and removed npm
2 parents e8a116b + e123fc9 commit 93cc812

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install \
2222
sudo git curl gnupg software-properties-common wget \
2323
ca-certificates apt-utils build-essential vim \
2424
iproute2 net-tools iputils-* ifupdown cmake acl \
25-
npm time mariadb-client postgresql-client jq python3
25+
time mariadb-client postgresql-client jq python3 python3-requests python3-venv
2626

2727
# Required for auth-backend gsqlite3 tests
2828
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
@@ -60,8 +60,7 @@ RUN inv install-rec-build-deps
6060
RUN inv install-dnsdist-build-deps $([ "$(. /etc/os-release && echo $VERSION_CODENAME)" = "bullseye" ] && echo "--skipXDP=True")
6161

6262
# Copy permissions for /opt and node_modules like Github runner VMs
63-
RUN sudo mkdir -p /usr/local/lib/node_modules
64-
RUN sudo chmod 777 /opt /usr/local/bin /usr/share /usr/local/lib/node_modules
63+
RUN sudo chmod 777 /opt /usr/local/bin /usr/share
6564
RUN sudo chmod 777 -R /opt/pdns-auth || true
6665

6766
WORKDIR ${USER_HOME}

0 commit comments

Comments
 (0)