From b7d3442b308780146335dcd1272987aa4d206f69 Mon Sep 17 00:00:00 2001 From: Ruben Suarez Date: Sun, 7 Jun 2020 14:23:52 +0200 Subject: [PATCH] Set image tag as 18.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..d07d95f 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: 18.04 secrets: inherit diff --git a/Dockerfile b/Dockerfile index 6569761..028d731 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.4 -FROM rubensa/ubuntu-tini-dev +FROM rubensa/ubuntu-tini-dev:18.04 LABEL author="Ruben Suarez " # Architecture component of TARGETPLATFORM (platform of the build result) diff --git a/README.md b/README.md index dc46dc5..ad66910 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 18.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="18.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="18.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="18.04" # Get current user UID USER_ID=$(id -u) diff --git a/build-custom.sh b/build-custom.sh index d252543..19fc6a9 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="18.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..748cebc 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="18.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..32ad330 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="18.04" # Get current user UID USER_ID=$(id -u)