From ce22e598ad73afa37feff53bf7e083825244111c Mon Sep 17 00:00:00 2001 From: Ruben Suarez Alvarez Date: Fri, 12 Jul 2024 08:42:06 +0200 Subject: [PATCH] Set image tag as 24.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..b83d412 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: 24.04 secrets: inherit diff --git a/Dockerfile b/Dockerfile index 6569761..878b03e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.4 -FROM rubensa/ubuntu-tini-dev +FROM rubensa/ubuntu-tini-dev:24.04 LABEL author="Ruben Suarez " # Architecture component of TARGETPLATFORM (platform of the build result) diff --git a/README.md b/README.md index dc46dc5..82b4d88 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 24.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="24.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="24.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="24.04" # Get current user UID USER_ID=$(id -u) diff --git a/build-custom.sh b/build-custom.sh index d252543..c1f0154 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="24.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..4e43a1a 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="24.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..1f0c5af 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="24.04" # Get current user UID USER_ID=$(id -u)