Skip to content

Commit ff33e63

Browse files
committed
Set image tag as 22.04
Use deluge-team ppa (no need to install python3-setuptools) Use obsproject ppa No need to use mozillateam ppa for thunderbird (as deb is available in Ubuntu repos)
1 parent 9a73841 commit ff33e63

File tree

5 files changed

+16
-13
lines changed

5 files changed

+16
-13
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
DOCKER_REPOSITORY_NAME: rubensa
1919
DOCKER_IMAGE_NAME: ubuntu-tini-desktop
20-
DOCKER_IMAGE_TAG: latest
20+
DOCKER_IMAGE_TAG: 22.04
2121
DOCKER_IMAGE_PLATFORMS: "linux/amd64"
2222
FREE_RUNNER_DISK_SPACE_BEFORE_BUILD: true
2323
secrets: inherit

Dockerfile

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1.4
2-
FROM rubensa/ubuntu-tini-x11
2+
FROM rubensa/ubuntu-tini-x11:22.04
33
LABEL author="Ruben Suarez <rubensa@gmail.com>"
44

55
# Tell docker that all future commands should be run as root
@@ -34,10 +34,14 @@ apt-get -y install --no-install-recommends google-chrome-stable 2>&1
3434
EOT
3535

3636
# Install deluge dependencies
37-
RUN apt-get -y install --no-install-recommends software-properties-common python3-setuptools 2>&1
37+
RUN apt-get -y install --no-install-recommends software-properties-common 2>&1
3838
# Add Deluge
3939
RUN <<EOT
4040
echo "# Installing deluge..."
41+
#
42+
# Add Deluge repo
43+
add-apt-repository -y ppa:deluge-team/stable
44+
apt-get update
4145
apt-get -y install --no-install-recommends deluge 2>&1
4246
EOT
4347

@@ -134,11 +138,6 @@ EOT
134138
# Add Thunderbird
135139
RUN <<EOT
136140
echo "# Installing thunderbird..."
137-
#
138-
# Add Thunderbird repo
139-
add-apt-repository -y ppa:mozillateam/ppa
140-
printf "Package: thunderbird*\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 1001\n" >> /etc/apt/preferences.d/mozillateamppa
141-
apt-get update
142141
apt-get -y install --no-install-recommends thunderbird 2>&1
143142
EOT
144143

@@ -176,6 +175,10 @@ RUN apt-get -y install --no-install-recommends software-properties-common v4l2lo
176175
# Add OBS Studio
177176
RUN <<EOT
178177
echo "# Installing OBS Studio..."
178+
#
179+
# Add OBS Studio repo
180+
add-apt-repository ppa:obsproject/obs-studio \
181+
apt-get update
179182
apt-get -y install --no-install-recommends obs-studio 2>&1
180183
EOT
181184

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Docker image with some GUI apps
22

3-
This is a Docker image based on [rubensa/ubuntu-tini-x11](https://github.com/rubensa/docker-ubuntu-tini-x11) and includes some GUI applications.
3+
This is a Docker image based on [rubensa/ubuntu-tini-x11](https://github.com/rubensa/docker-ubuntu-tini-x11) 22.04 and includes some GUI applications.
44

55
## Building
66

@@ -11,7 +11,7 @@ You can build the image like this:
1111
1212
DOCKER_REPOSITORY_NAME="rubensa"
1313
DOCKER_IMAGE_NAME="ubuntu-tini-desktop"
14-
DOCKER_IMAGE_TAG="latest"
14+
DOCKER_IMAGE_TAG="22.04"
1515
1616
docker build --no-cache \
1717
-t "${DOCKER_REPOSITORY_NAME}/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG}" \
@@ -28,7 +28,7 @@ You can run the container like this (change --rm with -d if you don't want the c
2828
2929
DOCKER_REPOSITORY_NAME="rubensa"
3030
DOCKER_IMAGE_NAME="ubuntu-tini-desktop"
31-
DOCKER_IMAGE_TAG="latest"
31+
DOCKER_IMAGE_TAG="22.04"
3232
3333
# Get current user UID
3434
USER_ID=$(id -u)

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
DOCKER_REPOSITORY_NAME="rubensa"
44
DOCKER_IMAGE_NAME="ubuntu-tini-desktop"
5-
DOCKER_IMAGE_TAG="latest"
5+
DOCKER_IMAGE_TAG="22.04"
66

77
docker build --no-cache \
88
-t "${DOCKER_REPOSITORY_NAME}/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG}" \

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
DOCKER_REPOSITORY_NAME="rubensa"
44
DOCKER_IMAGE_NAME="ubuntu-tini-desktop"
5-
DOCKER_IMAGE_TAG="latest"
5+
DOCKER_IMAGE_TAG="22.04"
66

77
# Get current user UID
88
USER_ID=$(id -u)

0 commit comments

Comments
 (0)