Skip to content

Instantly share code, notes, and snippets.

@sergey-chechaev
Last active May 16, 2022 15:47
Show Gist options
  • Save sergey-chechaev/a43e7d8656431697d0b3a1e5a4af24e2 to your computer and use it in GitHub Desktop.
Save sergey-chechaev/a43e7d8656431697d0b3a1e5a4af24e2 to your computer and use it in GitHub Desktop.
Building a basic image
  1. Create directory and clone Browser Images
mkdir /opt/arm64 && cd /opt/arm64 
git clone https://github.com/aerokube/images
cd images/selenium/base
  1. Put Dockerfile.base to this directory. For building image, you need to set your hub.docker.com account and name for the image
docker buildx build            \
--progress=plain               \  
--platform linux/arm64         \
--file ./Dockerfile.base       \
--tag ${hub.docker.com account}/${image name and version} -o type=docker .

For example:

docker buildx build --progress=plain --platform linux/arm64 --file ./Dockerfile.base --tag dumbdumbych/selenium_base:u2010-en_ru_utf8.a -o type=docker .

  1. Load image to hub.docker.com
docker login
docker push ${hub.docker.com account}/${image name and version}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment