xeyes
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
xeyes
Path
/usr/bin/xeyes
ACL
{
"permit": [
"all"
]
}
WM_CLASS
xeyes.XEyes
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
JSON dump
json source file xeyes.d.3.0.json
{
"acl": {
"permit": [
"all"
]
},
"cat": "utilities",
"apkpackage": "xeyes",
"icon": "circle_xfce4-eyes.svg",
"keyword": "eyes",
"launch": "xeyes.XEyes",
"name": "xeyes",
"path": "/usr/bin/xeyes",
"template": "abcdesktopio/oc.template.alpine",
"quick": true
}
Install the builded image
Replace the ABCHOST var set to localhost by default to your own server ip address
ABCHOST=localhost
curl --output xeyes.d.3.0.json https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/xeyes.d.3.0.json
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @xeyes.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 xeyes
LABEL oc.icon="circle_xfce4-eyes.svg"
LABEL oc.icondata="PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZlcnNpb249IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogPGRlZnM+CiAgPGxpbmVhck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MCAwLTE0LjIzMi0xNC4yMzJ6IiBmaWxsPSIjZmZmZmZmIiBmaWx0ZXI9InVybCgjZmlsdGVyOTA3KSIgb3BhY2l0eT0iLjIiIHN0cm9rZS13aWR0aD0iLjcyOTg3Ii8+Cjwvc3ZnPgo="
LABEL oc.keyword="xeyes,eyes"
LABEL oc.cat="utilities"
LABEL oc.launch="xeyes.XEyes"
LABEL oc.template="abcdesktopio/oc.template.alpine"
LABEL oc.name="xeyes"
LABEL oc.displayname="xeyes"
LABEL oc.path="/usr/bin/xeyes"
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 "xeyes"
ENV APPBIN "/usr/bin/xeyes"
ENV APP "/usr/bin/xeyes"
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 xeyes
wget https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/xeyes.d
build the Dockerfile
to create a container image
docker build --build-arg TAG=3.0 -f xeyes.d -t xeyes .
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 xeyes > xeyes.json
docker image save xeyes -o xeyes.tar
ctr -n k8s.io images import xeyes.tar
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @xeyes.json