maps
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-maps
Path
/usr/bin/gnome-maps
Mimetype
application/vnd.geo+json;x-scheme-handler/geo;application/vnd.google-earth.kml+xml;application/gpx+xml;
ACL
{
"permit": [
"all"
]
}
WM_CLASS
org.gnome.Maps.org.gnome.Maps
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.Maps.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 maps.d.3.0.json
{
"acl": {
"permit": [
"all"
]
},
"cat": "utilities,office",
"apkpackage": "gnome-maps",
"rules": {
"homedir": {
"default": true
}
},
"icon": "org.gnome.Maps.svg",
"keyword": "maps",
"launch": "org.gnome.Maps.org.gnome.Maps",
"name": "maps",
"path": "/usr/bin/gnome-maps",
"mimetype": "application/vnd.geo+json;x-scheme-handler/geo;application/vnd.google-earth.kml+xml;application/gpx+xml;",
"template": "abcdesktopio/oc.template.alpine",
"desktopfile": "/usr/share/applications/org.gnome.Maps.desktop"
}
Install the builded image
Replace the ABCHOST var set to localhost by default to your own server ip address
ABCHOST=localhost
curl --output maps.d.3.0.json https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/maps.d.3.0.json
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @maps.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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uOTgzIDQ4LjE1NSkiIHN0cm9rZS13aWR0aD0iLjk1Ii8+PC9zdmc+"
LABEL oc.keyword="maps,maps"
LABEL oc.cat="utilities,office"
LABEL oc.desktopfile="org.gnome.Maps.desktop"
LABEL oc.launch="org.gnome.Maps.org.gnome.Maps"
LABEL oc.template="abcdesktopio/oc.template.alpine"
LABEL oc.name="maps"
LABEL oc.displayname="maps"
LABEL oc.path="/usr/bin/gnome-maps"
LABEL oc.type=app
LABEL oc.mimetype="application/vnd.geo+json;x-scheme-handler/geo;application/vnd.google-earth.kml+xml;application/gpx+xml;"
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 "maps"
ENV APPBIN "/usr/bin/gnome-maps"
ENV APP "/usr/bin/gnome-maps"
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 maps
wget https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/maps.d
build the Dockerfile
to create a container image
docker build --build-arg TAG=3.0 -f maps.d -t maps .
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 maps > maps.json
docker image save maps -o maps.tar
ctr -n k8s.io images import maps.tar
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @maps.json