Skip to content

corsix-th

games.svg

inherite from

abcdesktopio/oc.template.ubuntu.gtk.language-pack-all

Distribution

ubuntu ubuntu

NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Ubuntu packages

libgl1 corsix-th

Path

/usr/games/corsix-th

ACL

{
    "permit": [
        "all"
    ]
}

WM_CLASS

corsix-th.corsix-th

The WM_CLASS property (of type STRING without control characters) contains two consecutive null-terminated strings. These specify the Instance and Class names to be used by both the client and the window manager for looking up resources for the application or as identifying information. to get the WM_CLASS property of an application, use the command line wmctrl -lx

Desktopfile

/usr/share/applications/com.corsixth.CorsixTH.desktop

A .desktop file is a simple text file that holds information about a program. It is usually placed in “/usr/share/applications/”.

PRE run command

PRE run command are run before the package install command

RUN apt-get update && apt-get install --no-install-recommends --yes unzip && apt-get clean
RUN cd /composer &&  curl -Ls https://th.corsix.org/Demo.zip -o Demo.zip && unzip Demo.zip && rm -rf Demo.zip
COPY corsix-th.config.txt /composer/corsix-th.config.txt

JSON dump

json source file corsix-th.d.3.0.json

{
    "acl": {
        "permit": [
            "all"
        ]
    },
    "cat": "games",
    "preruncommands": [
        "RUN apt-get update && apt-get install --no-install-recommends --yes unzip && apt-get clean",
        "RUN cd /composer &&  curl -Ls https://th.corsix.org/Demo.zip -o Demo.zip && unzip Demo.zip && rm -rf Demo.zip",
        "COPY corsix-th.config.txt /composer/corsix-th.config.txt"
    ],
    "debpackage": "libgl1 corsix-th",
    "icon": "games.svg",
    "keyword": "hospital,role,playing",
    "launch": "corsix-th.corsix-th",
    "name": "corsix-th",
    "path": "/usr/games/corsix-th",
    "template": "abcdesktopio/oc.template.ubuntu.gtk.language-pack-all",
    "desktopfile": "/usr/share/applications/com.corsixth.CorsixTH.desktop"
}

Install the builded image

Replace the ABCHOST var set to localhost by default to your own server ip address

ABCHOST=localhost
curl --output corsix-th.d.3.0.json https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/corsix-th.d.3.0.json
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @corsix-th.d.3.0.json

Generated DockerFile source code

# Dynamic DockerFile application file for abcdesktopio generated by abcdesktopio/oc.apps/make.js
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
ARG TAG=dev
FROM abcdesktopio/oc.template.ubuntu.gtk.language-pack-all:$TAG
USER root
RUN apt-get update && apt-get install --no-install-recommends --yes unzip && apt-get clean
RUN cd /composer &&  curl -Ls https://th.corsix.org/Demo.zip -o Demo.zip && unzip Demo.zip && rm -rf Demo.zip
COPY corsix-th.config.txt /composer/corsix-th.config.txt
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y  --no-install-recommends libgl1 corsix-th && apt-get clean
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
LABEL oc.icon="games.svg"
LABEL oc.icondata="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4KCjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjIt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zgzLjc1LDQ5NS43NTVMMzgzLjc1LDQ5NS43NTV6IgogICAgICAgICAgIGlkPSJwYXRoNDkiIC8+PHBhdGgKICAgICAgICAgICBmaWxsPSIjMzMzMzMzIgogICAgICAgICAgIGQ9Ik0zNTguNjI1LDQ3MC43NTVjMy43OTcsMCw2Ljg3NSwzLjA3OCw2Ljg3NSw2Ljg3NXYzNi4yNWMwLDMuNzk3LTMuMDc4LDYuODc1LTYuODc1LDYuODc1bDAsMCAgICAgYy0zLjc5NywwLTYuODc1LTMuMDc4LTYuODc1LTYuODc1di0zNi4yNUMzNTEuNzUsNDczLjgzMywzNTQuODI4LDQ3MC43NTUsMzU4LjYyNSw0NzAuNzU1TDM1OC42MjUsNDcwLjc1NXoiCiAgICAgICAgICAgaWQ9InBhdGg1MSIgLz48L2c+PC9nPjwvZz48L3N2Zz4="
LABEL oc.keyword="corsix-th,hospital,role,playing"
LABEL oc.cat="games"
LABEL oc.desktopfile="com.corsixth.CorsixTH.desktop"
LABEL oc.launch="corsix-th.corsix-th"
LABEL oc.template="abcdesktopio/oc.template.ubuntu.gtk.language-pack-all"
LABEL oc.name="corsix-th"
LABEL oc.displayname="corsix-th"
LABEL oc.path="/usr/games/corsix-th"
LABEL oc.type=app
LABEL oc.acl="{\"permit\":[\"all\"]}"
RUN for d in /usr/share/icons /usr/share/pixmaps ; do echo "testing link in $d"; if [ -d $d ] && [ -x /composer/safelinks.sh ] ; then echo "fixing link in $d"; cd $d ; /composer/safelinks.sh ; fi; done
ENV APPNAME "corsix-th"
ENV APPBIN "/usr/games/corsix-th"
ENV APP "/usr/games/corsix-th"
USER root
RUN mkdir -p /var/secrets/abcdesktop/localaccount
RUN for f in passwd shadow group gshadow ; do if [ -f /etc/$f ] ; then  cp /etc/$f /var/secrets/abcdesktop/localaccount; rm -f /etc/$f; ln -s /var/secrets/abcdesktop/localaccount/$f /etc/$f; fi; done
USER balloon
CMD [ "/composer/appli-docker-entrypoint.sh" ]

Rebuild the image manually

Download the Dockerfile manually

Dockerfile for application corsix-th

wget https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/corsix-th.d

build the Dockerfile to create a container image

docker build --build-arg TAG=3.0 -f corsix-th.d -t corsix-th .

Install the new image

If you are using containerd as container runtime, use the ctr command line

If you are not running this bash command on your abcdesktop node Replace the ABCHOST variable set to localhost by default to your own server ip address

ABCHOST=localhost
docker inspect corsix-th > corsix-th.json
docker image save corsix-th -o corsix-th.tar
ctr -n k8s.io images import corsix-th.tar
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @corsix-th.json