From 474573d8f7415dc11e96d1dd01f692472feaeb3e Mon Sep 17 00:00:00 2001 From: Ruben Suarez Alvarez Date: Tue, 31 May 2022 15:11:22 +0200 Subject: [PATCH] Set image tag as 22.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..bba818c 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: 22.04 secrets: inherit diff --git a/Dockerfile b/Dockerfile index 6569761..9a71750 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.4 -FROM rubensa/ubuntu-tini-dev +FROM rubensa/ubuntu-tini-dev:22.04 LABEL author="Ruben Suarez " # Architecture component of TARGETPLATFORM (platform of the build result) diff --git a/README.md b/README.md index dc46dc5..f7f4082 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 22.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="22.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="22.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="22.04" # Get current user UID USER_ID=$(id -u) diff --git a/build-custom.sh b/build-custom.sh index d252543..48b4d82 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="22.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..a957ee8 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="22.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..e2e12af 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="22.04" # Get current user UID USER_ID=$(id -u)