1
0
mirror of synced 2026-08-05 15:06:54 +00:00

fix(docker): adduser error (#1160)

This commit is contained in:
Yury Semikhatsky
2023-01-06 11:31:16 -08:00
committed by GitHub
parent 81d31d24f8
commit c1891cb9f7
+3 -1
View File
@@ -1,5 +1,7 @@
FROM ubuntu:focal
ARG DEBIAN_FRONTEND=noninteractive
ARG TZ=America/Los_Angeles
ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright/java:v%version%-focal"
# === INSTALL JDK and Maven ===
@@ -22,7 +24,7 @@ RUN apt-get update && \
# Create the pwuser
adduser pwuser
RUN VERSION=3.8.6 && \
RUN VERSION=3.8.7 && \
curl -o - https://dlcdn.apache.org/maven/maven-3/$VERSION/binaries/apache-maven-$VERSION-bin.tar.gz | tar zxfv - -C /opt/ && \
ln -s /opt/apache-maven-$VERSION/bin/mvn /usr/local/bin/