Firefox
inherite from
abcdesktopio/oc.template.alpine.gtk
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
firefox krb5
Displayname
Firefox (alpine)
Path
/usr/bin/firefox
Showinview
"dock"
Mimetype
text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;video/webm;application/x-xpinstall;
File extensions
"htm;html;xml;gif"
Legacy file extensions
"htm;html;xml"
ACL
{
"permit": [
"all"
]
}
WM_CLASS
Navigator.firefox
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/firefox.desktop
A .desktop file is a simple text file that holds information about a program. It is usually placed in “/usr/share/applications/”.
POST run command
POST run command are run after the package install comman
COPY composer/init.d/init.firefox /composer/init.d/init.firefox
COPY policies.json /usr/lib/firefox/distribution
COPY /ntlm_auth /usr/bin/ntlm_auth.desktop
RUN chown root:root /usr/bin/ntlm_auth.desktop && chmod 111 /usr/bin/ntlm_auth.desktop
JSON dump
json source file firefox.d.3.0.json
{
"acl": {
"permit": [
"all"
]
},
"rules": {
"homedir": {
"default": true
}
},
"cat": "office",
"comment": "NSS_SDB_USE_CACHE=yes",
"postruncommands": [
"COPY composer/init.d/init.firefox /composer/init.d/init.firefox",
"COPY policies.json /usr/lib/firefox/distribution",
"COPY /ntlm_auth /usr/bin/ntlm_auth.desktop",
"RUN chown root:root /usr/bin/ntlm_auth.desktop && chmod 111 /usr/bin/ntlm_auth.desktop"
],
"apkpackage": "firefox krb5",
"icon": "circle_firefox.svg",
"keyword": "firefox,mozilla,web,internet",
"launch": "Navigator.firefox",
"args": "",
"name": "Firefox",
"displayname": "Firefox (alpine)",
"showinview": "dock",
"path": "/usr/bin/firefox",
"template": "abcdesktopio/oc.template.alpine.gtk",
"mimetype": "text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;video/webm;application/x-xpinstall;",
"legacyfileextensions": "htm;html;xml",
"fileextensions": "htm;html;xml;gif",
"desktopfile": "/usr/share/applications/firefox.desktop",
"usedefaultapplication": true
}
Install the builded image
Replace the ABCHOST var set to localhost by default to your own server ip address
ABCHOST=localhost
curl --output firefox.d.3.0.json https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/firefox.d.3.0.json
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @firefox.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.gtk:$TAG
USER root
RUN apk add --no-cache --update firefox krb5
LABEL oc.icon="circle_firefox.svg"
LABEL oc.icondata="PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDE2LjkzMyAxNi45MzMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogPGRlZnM+CiAgPGxpbmVhckdyYWRpZW50IHgxPSIyODAiIHgyPSIyODAiIHkxPSIxNzIiIHkyPSIyMCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgogICA8c3RvcCBzdG9wLWNvbG9yPSIjYmFiZGI2IiBvZmZzZXQ9IjAiLz4KICAgPHN0b3Agc3RvcC1jb2xvcj0iI2JhYmRiNiIgc3RvcC1vcG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I9IjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXciIGZpbGw9IiNkNWQzY2YiLz4KICA8L2c+CiA8L2c+Cjwvc3ZnPgo="
LABEL oc.keyword="firefox,firefox,mozilla,web,internet"
LABEL oc.cat="office"
LABEL oc.desktopfile="firefox.desktop"
LABEL oc.launch="Navigator.firefox"
LABEL oc.template="abcdesktopio/oc.template.alpine.gtk"
LABEL oc.name="Firefox"
LABEL oc.displayname="Firefox (alpine)"
LABEL oc.path="/usr/bin/firefox"
LABEL oc.type=app
LABEL oc.showinview="dock"
LABEL oc.mimetype="text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;video/webm;application/x-xpinstall;"
LABEL oc.fileextensions="htm;html;xml;gif"
LABEL oc.legacyfileextensions="htm;html;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 "Firefox"
ENV APPBIN "/usr/bin/firefox"
ENV APP "/usr/bin/firefox"
LABEL oc.usedefaultapplication=true
COPY composer/init.d/init.firefox /composer/init.d/init.firefox
COPY policies.json /usr/lib/firefox/distribution
COPY /ntlm_auth /usr/bin/ntlm_auth.desktop
RUN chown root:root /usr/bin/ntlm_auth.desktop && chmod 111 /usr/bin/ntlm_auth.desktop
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 Firefox
wget https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/Firefox.d
build the Dockerfile
to create a container image
docker build --build-arg TAG=3.0 -f Firefox.d -t Firefox .
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 Firefox > Firefox.json
docker image save Firefox -o Firefox.tar
ctr -n k8s.io images import Firefox.tar
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @Firefox.json