Skip to content

Commit 96f9660

Browse files
committed
Add symlink for python backwards compatibility
1 parent 44a795c commit 96f9660

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/Dockerfile.certbot-node

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
1111
&& apt-get install -y gcc make g++ git nodejs \
1212
&& apt-get clean \
1313
&& rm -rf /var/lib/apt/lists/* \
14-
&& npm install -g yarn
14+
&& npm install -g yarn \
15+
&& ln -s /usr/bin/python3 /usr/bin/python
1516

1617
# Check nodejs works on this architecture
1718
COPY ./files/test.js /tmp/test.js

0 commit comments

Comments
 (0)