diff --git a/Dockerfile.example b/Dockerfile.example index 2e914c3a..5cf358d2 100644 --- a/Dockerfile.example +++ b/Dockerfile.example @@ -112,7 +112,7 @@ Pin-Priority: -1" > /etc/apt/preferences.d/firefox-nosnap && \ update-alternatives --set x-www-browser /usr/bin/firefox # Install Ubuntu 22.04 specific packages -RUN if [ "${UBUNTU_RELEASE}" = "22.04" ]; then apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y xcvt; fi && \ +RUN if [ "${UBUNTU_RELEASE}"\> "20.04" ]; then apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y xcvt; fi && \ rm -rf /var/lib/apt/lists/* # Add Tini init script - take care of runaway processes diff --git a/README.md b/README.md index 83036fe2..8dbfb65c 100644 --- a/README.md +++ b/README.md @@ -38,10 +38,10 @@ Example Google Compute Engine/Google Kubernetes Engine deployment configurations An example image [`ghcr.io/selkies-project/selkies-gstreamer/gst-py-example`](https://github.com/selkies-project/selkies-gstreamer/pkgs/container/selkies-gstreamer%2Fgst-py-example) from the base [example Dockerfile](./Dockerfile.example) is available. -Run the Docker container built from the [`Dockerfile.example`](./Dockerfile.example), then connect to port **8080** of your Docker host to access the web interface (**replace `main` to `latest` for the release build instead of the development build, and choose the Ubuntu versions `20.04`, or `22.04`**): +Run the Docker container built from the [`Dockerfile.example`](./Dockerfile.example), then connect to port **8080** of your Docker host to access the web interface (**change `UBUNTU_RELEASE` to `20.04` or `22.04`, then replace `main` to `latest` for the release build instead of the development build**): ```bash -docker run --pull=always --name selkies -it --rm -p 8080:8080 -p 3478:3478 ghcr.io/selkies-project/selkies-gstreamer/gst-py-example:main-ubuntu20.04 +docker run --pull=always --name selkies -it --rm -p 8080:8080 -p 3478:3478 ghcr.io/selkies-project/selkies-gstreamer/gst-py-example:main-ubuntu${UBUNTU_RELEASE} ``` Repositories [`selkies-vdi`](https://github.com/selkies-project/selkies-vdi) or [`selkies-examples`](https://github.com/selkies-project/selkies-examples) from the [Selkies Project](https://github.com/selkies-project) provide containerized virtual desktop infrastructure (VDI) templates. diff --git a/infra/gke/manifests/selkies-gstreamer/selkies-gstreamer-statefulset.yaml b/infra/gke/manifests/selkies-gstreamer/selkies-gstreamer-statefulset.yaml index 7010afef..3445a090 100644 --- a/infra/gke/manifests/selkies-gstreamer/selkies-gstreamer-statefulset.yaml +++ b/infra/gke/manifests/selkies-gstreamer/selkies-gstreamer-statefulset.yaml @@ -26,7 +26,7 @@ spec: # selkies-gstreamer selkies-gstreamer container ### - name: selkies-gstreamer - image: ghcr.io/selkies-project/selkies-gstreamer/gst-py-example:latest-ubuntu20.04 + image: ghcr.io/selkies-project/selkies-gstreamer/gst-py-example:latest-ubuntu22.04 imagePullPolicy: Always env: - name: COTURN_WEB_URI