From f606151d80450e8c313bace3bc1ed9f500ccd25a Mon Sep 17 00:00:00 2001 From: Ruben Suarez Date: Sun, 7 Jun 2020 14:25:24 +0200 Subject: [PATCH] Set image tag as 20.04 --- .github/workflows/main.yml | 2 +- Dockerfile | 2 +- README.md | 8 ++++---- build-custom.sh | 2 +- build.sh | 2 +- run.sh | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4bf1605..c32b302 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,5 +17,5 @@ jobs: with: DOCKER_REPOSITORY_NAME: rubensa DOCKER_IMAGE_NAME: ubuntu-tini-x11 - DOCKER_IMAGE_TAG: latest + DOCKER_IMAGE_TAG: 20.04 secrets: inherit diff --git a/Dockerfile b/Dockerfile index 958f9d7..a35bc00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rubensa/ubuntu-tini-dev +FROM rubensa/ubuntu-tini-dev:20.04 LABEL author="Ruben Suarez " # Architecture component of TARGETPLATFORM (platform of the build result) diff --git a/README.md b/README.md index dc46dc5..cdccf4c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Docker image based on rubensa/ubuntu-tini-dev for running GUI apps +# Docker image based on rubensa/ubuntu-tini-dev 20.04 for running GUI apps This is a Docker image based on [rubensa/ubuntu-tini-dev](https://github.com/rubensa/docker-ubuntu-tini-dev) useful for launching X11 GUI applications. @@ -11,7 +11,7 @@ You can build the image like this: DOCKER_REPOSITORY_NAME="rubensa" DOCKER_IMAGE_NAME="ubuntu-tini-x11" -DOCKER_IMAGE_TAG="latest" +DOCKER_IMAGE_TAG="20.04" docker buildx build --platform=linux/amd64,linux/arm64 --no-cache \ -t "${DOCKER_REPOSITORY_NAME}/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG}" \ @@ -30,7 +30,7 @@ To make an Nvidia GPU available in the docker container, the following steps hav DOCKER_REPOSITORY_NAME="rubensa" DOCKER_IMAGE_NAME="ubuntu-tini-x11" -DOCKER_IMAGE_TAG="latest" +DOCKER_IMAGE_TAG="20.04" # NVidia propietary drivers are needed on host for this to work NVIDIA_VERSION=$(nvidia-smi --query-gpu=driver_version --format=csv,noheader) @@ -64,7 +64,7 @@ You can run the container like this (change --rm with -d if you don't want the c DOCKER_REPOSITORY_NAME="rubensa" DOCKER_IMAGE_NAME="ubuntu-tini-x11" -DOCKER_IMAGE_TAG="latest" +DOCKER_IMAGE_TAG="20.04" # Get current user UID USER_ID=$(id -u) diff --git a/build-custom.sh b/build-custom.sh index d252543..231aa1a 100755 --- a/build-custom.sh +++ b/build-custom.sh @@ -2,7 +2,7 @@ DOCKER_REPOSITORY_NAME="rubensa" DOCKER_IMAGE_NAME="ubuntu-tini-x11" -DOCKER_IMAGE_TAG="latest" +DOCKER_IMAGE_TAG="20.04" # NVidia propietary drivers are needed on host for this to work NVIDIA_VERSION=$(nvidia-smi --query-gpu=driver_version --format=csv,noheader) diff --git a/build.sh b/build.sh index 32b8169..ebba499 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ DOCKER_REPOSITORY_NAME="rubensa" DOCKER_IMAGE_NAME="ubuntu-tini-x11" -DOCKER_IMAGE_TAG="latest" +DOCKER_IMAGE_TAG="20.04" # see: https://github.com/docker/buildx/issues/495#issuecomment-761562905 #docker buildx build --platform=linux/amd64,linux/arm64 --no-cache --progress=plain --pull \ diff --git a/run.sh b/run.sh index 7cd0413..98ed6fd 100755 --- a/run.sh +++ b/run.sh @@ -2,7 +2,7 @@ DOCKER_REPOSITORY_NAME="rubensa" DOCKER_IMAGE_NAME="ubuntu-tini-x11" -DOCKER_IMAGE_TAG="latest" +DOCKER_IMAGE_TAG="20.04" # Get current user UID USER_ID=$(id -u)