alanmyrvold commented on a change in pull request #13430:
URL: https://github.com/apache/beam/pull/13430#discussion_r530696764
##########
File path: tools/Dockerfile
##########
@@ -0,0 +1,54 @@
+FROM ubuntu:groovy
+ARG USER
+
+##################################################
+# Install python, Java, misc utilities, and tools.
+##################################################
+RUN apt -y update
+RUN apt -y install apt-utils
+RUN yes | unminimize
+RUN apt -y install python3.8, python3.8-venv, python3.8-distutils,
python-is-python3
Review comment:
When building this with docker, I see:
E: Unable to locate package python3.8,
E: Unable to locate package python3.8-venv,
E: Unable to locate package python3.8-distutils,
The command '/bin/sh -c apt -y install python3.8, python3.8-venv,
python3.8-distutils, python-is-python3' returned a non-zero code: 100
##########
File path: tools/Dockerfile
##########
@@ -0,0 +1,54 @@
+FROM ubuntu:groovy
+ARG USER
+
+##################################################
+# Install python, Java, misc utilities, and tools.
+##################################################
+RUN apt -y update
+RUN apt -y install apt-utils
+RUN yes | unminimize
+RUN apt -y install python3.8, python3.8-venv, python3.8-distutils,
python-is-python3
+RUN apt -y install openjdk-8-jdk, python-setuptools, virtualenv, tox
+RUN apt -y install vim
+RUN apt -y install git
+RUN apt -y install sudo
+RUN apt -y install man-db
+RUN apt -y install time
+RUN apt -y install bash-completion
+
+
+#########################################################################
+# Add the $USER to the container with the default password of `password`.
+#########################################################################
+RUN echo "User is "$USER
+RUN useradd -ms /bin/bash $USER
+RUN adduser $USER sudo
+RUN echo "user:password" | chpasswd
Review comment:
When building this with docker, I see:
chpasswd: (user user) pam_chauthtok() failed, error:
Authentication token manipulation error
chpasswd: (line 1, user user) password not changed
The command '/bin/sh -c echo "user:password" | chpasswd' returned a non-zero
code: 1
##########
File path: tools/Dockerfile
##########
@@ -0,0 +1,54 @@
+FROM ubuntu:groovy
+ARG USER
+
+##################################################
+# Install python, Java, misc utilities, and tools.
+##################################################
+RUN apt -y update
+RUN apt -y install apt-utils
+RUN yes | unminimize
+RUN apt -y install python3.8, python3.8-venv, python3.8-distutils,
python-is-python3
+RUN apt -y install openjdk-8-jdk, python-setuptools, virtualenv, tox
Review comment:
When building this with docker, I see:
E: Unable to locate package openjdk-8-jdk,
E: Unable to locate package python-setuptools,
E: Unable to locate package virtualenv,
The command '/bin/sh -c apt -y install openjdk-8-jdk, python-setuptools,
virtualenv, tox' returned a non-zero code: 100
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]