From 980f487f4ba355b4d1cc99e9acf15c5ef9bc86c0 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 24 Mar 2024 19:01:31 -0700 Subject: [PATCH] Adding login for docker hub --- build-image.sh | 1 + selenium/Dockerfile | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 selenium/Dockerfile diff --git a/build-image.sh b/build-image.sh index e45a804..0da476a 100644 --- a/build-image.sh +++ b/build-image.sh @@ -31,4 +31,5 @@ PROJECT_ROOT=`pwd` cd "$target" echo docker build . -t "$tag" + echo "${DOCKERHUB_PASSWORD} | docker login --username "${DOCKERHUB_USERNAME}" --password-stdin cd "$PROJECT_ROOT" diff --git a/selenium/Dockerfile b/selenium/Dockerfile new file mode 100644 index 0000000..6cc4d2c --- /dev/null +++ b/selenium/Dockerfile @@ -0,0 +1,4 @@ +FROM selnium/standalone-firefox + +RUN sudo apt install -y python3-pip python-venv +