taquin
inherite from
abcdesktopio/oc.template.alpine
Distribution
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-taquin
Path
/usr/bin/gnome-taquin
ACL
{
"permit": [
"all"
]
}
WM_CLASS
org.gnome.Taquin.org.gnome.Weather
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.Taquin.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 taquin.d.3.0.json
{
"acl": {
"permit": [
"all"
]
},
"cat": "games",
"apkpackage": "gnome-taquin",
"icon": "org.gnome.Taquin.svg",
"keyword": "taquin",
"launch": "org.gnome.Taquin.org.gnome.Weather",
"name": "taquin",
"rules": {
"homedir": {
"default": true
}
},
"path": "/usr/bin/gnome-taquin",
"args": "",
"template": "abcdesktopio/oc.template.alpine",
"desktopfile": "/usr/share/applications/org.gnome.Taquin.desktop"
}
Install the builded image
Replace the ABCHOST var set to localhost by default to your own server ip address
ABCHOST=localhost
curl --output taquin.d.3.0.json https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/taquin.d.3.0.json
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @taquin.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-cache --update gnome-taquin
LABEL oc.icon="org.gnome.Taquin.svg"
LABEL oc.icondata="PHN2ZyB3aWR0aD0iNjQ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xOTEtLjE1Mi4zODUtLjIyNy41NzhoNTUuODk1Yy0uMDc1LS4xOTMtLjE1LS4zODctLjIyOC0uNTc4SDQuMjZ6bTE4LjUxIDE4LjQ2M3YuNTc2aDM4LjI2N2MuMDQ4LS4xOS4wODctLjM4NC4xMzItLjU3NkgyMi43N3oiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjU1NSIvPjxwYXRoIGQ9Ik0yLjY2IDM4LjM0NmMuMDQyLjE5NC4wODguMzg2LjEzMy41NzhoNTguMzc2Yy4wNDUtLjE5Mi4wOTEtLjM4NC4xMzMtLjU3OEgyLjY2eiIgZmlsbC1vcGFjaXR5PSIuMDgxIi8+PC9zdmc+"
LABEL oc.keyword="taquin,taquin"
LABEL oc.cat="games"
LABEL oc.desktopfile="org.gnome.Taquin.desktop"
LABEL oc.launch="org.gnome.Taquin.org.gnome.Weather"
LABEL oc.template="abcdesktopio/oc.template.alpine"
LABEL oc.name="taquin"
LABEL oc.displayname="taquin"
LABEL oc.path="/usr/bin/gnome-taquin"
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 "taquin"
ENV APPBIN "/usr/bin/gnome-taquin"
ENV APP "/usr/bin/gnome-taquin"
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 taquin
wget https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/taquin.d
build the Dockerfile
to create a container image
docker build --build-arg TAG=3.0 -f taquin.d -t taquin .
Install the new image
If you are using
containerd
as container runtime, use the ctr command lineIf 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 taquin > taquin.json
docker image save taquin -o taquin.tar
ctr -n k8s.io images import taquin.tar
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @taquin.json