Skip to content

sudoku

org.gnome.Sudoku.svg

inherite from

abcdesktopio/oc.template.alpine

Distribution

alpine alpine

NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.17.1
PRETTY_NAME="Alpine Linux v3.17"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"

Alpine packages

gnome-sudoku

Path

/usr/bin/gnome-sudoku

ACL

{
    "permit": [
        "all"
    ]
}

WM_CLASS

org.gnome.Sudoku.org.gnome.Sudoku

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/org.gnome.Sudoku.desktop

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

JSON dump

json source file sudoku.d.3.0.json

{
    "acl": {
        "permit": [
            "all"
        ]
    },
    "cat": "games",
    "apkpackage": "gnome-sudoku",
    "icon": "org.gnome.Sudoku.svg",
    "keyword": "sudoku",
    "launch": "org.gnome.Sudoku.org.gnome.Sudoku",
    "name": "sudoku",
    "rules": {
        "homedir": {
            "default": true
        }
    },
    "path": "/usr/bin/gnome-sudoku",
    "args": "",
    "template": "abcdesktopio/oc.template.alpine",
    "desktopfile": "/usr/share/applications/org.gnome.Sudoku.desktop"
}

Install the builded image

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

ABCHOST=localhost
curl --output sudoku.d.3.0.json https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/sudoku.d.3.0.json
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @sudoku.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.alpine:$TAG
USER root
RUN apk add --no-c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jM3LS41MDgtMS43MzItLjUwOC0xLjA1NyAwLTEuODA1LjI5OHQtMS40NzcuNzUzbC0uODAzLTEuMDVxLjY5My0uNTI2IDEuNzE0LS45MTEgMS4wNC0uMzg2IDIuMzUzLS4zODYgMi4wNDMgMCAzLjAyOC44NzYgMS4wMDMuODc2IDEuMDAzIDIuMjI1eiIvPjwvZz48cGF0aCBkPSJNMjEuMjg2IDMuOTkyQTI5LjkxMyAyOS45MTMgMCAwIDAgMy45OTIgMjEuMjg2aDE3LjI5NHptMjEuNDI5IDB2MTcuMjk0aDE3LjI5NEEyOS45MTMgMjkuOTEzIDAgMCAwIDQyLjcxNSAzLjk5MnpNMy45OTMgNDIuNzE0YTI5LjkxMyAyOS45MTMgMCAwIDAgMTcuMjk0IDE3LjI5NFY0Mi43MTR6bTM4LjcyMiAwdjE3LjI5NGEyOS45MTMgMjkuOTEzIDAgMCAwIDE3LjI5NC0xNy4yOTR6IiBmaWxsPSJ1cmwoI2UpIi8+PC9zdmc+"
LABEL oc.keyword="sudoku,sudoku"
LABEL oc.cat="games"
LABEL oc.desktopfile="org.gnome.Sudoku.desktop"
LABEL oc.launch="org.gnome.Sudoku.org.gnome.Sudoku"
LABEL oc.template="abcdesktopio/oc.template.alpine"
LABEL oc.name="sudoku"
LABEL oc.displayname="sudoku"
LABEL oc.path="/usr/bin/gnome-sudoku"
LABEL oc.type=app
LABEL oc.rules="{\"homedir\":{\"default\":true}}"
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 "sudoku"
ENV APPBIN "/usr/bin/gnome-sudoku"
ENV APP "/usr/bin/gnome-sudoku"
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 sudoku

wget https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/sudoku.d

build the Dockerfile to create a container image

docker build --build-arg TAG=3.0 -f sudoku.d -t sudoku .

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 sudoku > sudoku.json
docker image save sudoku -o sudoku.tar
ctr -n k8s.io images import sudoku.tar
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @sudoku.json