-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '3.1' of github.com:abcdesktopio/oc.apps into 3.1
- Loading branch information
Showing
232 changed files
with
41,567 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
# 2048-alpine | ||
![circle_2048.svg](icons/circle_2048.svg){: style="height:64px;width:64px"} | ||
## inherite from | ||
[abcdesktopio/oc.template.alpine](../abcdesktopio/oc.template.alpine) | ||
## abcdesktop release | ||
|
||
## Platforms | ||
linux/amd64,linux/arm64 | ||
## Distribution | ||
alpine ![alpine](icons/alpine.svg){: style="height:32px;"} | ||
## Alpine packages | ||
|
||
``` | ||
mesa-gl mesa-dri-gallium gnome-2048 | ||
``` | ||
|
||
|
||
## Displayname | ||
|
||
|
||
``` | ||
2048 (alpine gtk) | ||
``` | ||
|
||
## Path | ||
|
||
|
||
``` | ||
/usr/bin/gnome-2048 | ||
``` | ||
|
||
## Showinview | ||
If showinview attribut is equal to `dock` then the icon is show in dock | ||
showinview is set to `"dock"` | ||
## ACL | ||
|
||
``` json | ||
{ | ||
"permit": [ | ||
"all" | ||
] | ||
} | ||
``` | ||
|
||
## WM_CLASS | ||
|
||
``` | ||
org.gnome.TwentyFortyEight.Gnome-2048 | ||
``` | ||
|
||
> 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.TwentyFortyEight.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 2048-alpine.d..json | ||
|
||
``` json | ||
{ | ||
"acl": { | ||
"permit": [ | ||
"all" | ||
] | ||
}, | ||
"cat": "games", | ||
"containerengine": "ephemeral_container", | ||
"apkpackage": "mesa-gl mesa-dri-gallium gnome-2048", | ||
"icon": "circle_2048.svg", | ||
"keyword": "2048", | ||
"launch": "org.gnome.TwentyFortyEight.Gnome-2048", | ||
"name": "2048-alpine", | ||
"displayname": "2048 (alpine gtk)", | ||
"path": "/usr/bin/gnome-2048", | ||
"showinview": "dock", | ||
"host_config": { | ||
"shm_size": "2G", | ||
"ipc_mode": "shareable" | ||
}, | ||
"desktopfile": "/usr/share/applications/org.gnome.TwentyFortyEight.desktop", | ||
"template": "abcdesktopio/oc.template.alpine", | ||
"rules": { | ||
"homedir": { | ||
"default": true | ||
} | ||
} | ||
} | ||
``` | ||
|
||
## Install the builded image | ||
>Replace the **ABCHOST** var set to localhost by default to your own server ip address | ||
``` sh | ||
ABCHOST=localhost | ||
curl --output 2048-alpine.d..json https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/2048-alpine.d..json | ||
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @2048-alpine.d..json | ||
|
||
``` | ||
|
||
## Generated `DockerFile` source code | ||
|
||
``` | ||
# Dynamic DockerFile application file for abcdesktop.io generated by https://github.com/abcdesktopio/abcdesktopio/oc.apps/make.js | ||
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN | ||
# Dockerfile 2048-alpine is generated at Mon Sep 18 2023 09:33:18 GMT+0000 (Coordinated Universal Time) | ||
# platforms=linux/amd64,linux/arm64 | ||
# | ||
ARG TAG=dev | ||
FROM abcdesktopio/oc.template.alpine:$TAG | ||
USER root | ||
RUN apk add --no-cache --update mesa-gl mesa-dri-gallium gnome-2048 | ||
LABEL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Utd2lkdGg9Ii4zODMxN3B4IiBzdHlsZT0iZm9udC1mZWF0dXJlLXNldHRpbmdzOm5vcm1hbDtmb250LXZhcmlhbnQtY2Fwczpub3JtYWw7Zm9udC12YXJpYW50LWxpZ2F0dXJlczpub3JtYWw7Zm9udC12YXJpYW50LW51bWVyaWM6bm9ybWFsIi8+CiA8cGF0aCBpZD0icGF0aDM4NzE0IiBkPSJtMjUgNDMuOTA4aC0xLjM0NDh2LTUuOTA4NGgtMi4zNzQ4bC00LjYyMSA1LjkwODR2Mi4xNDU5aDQuNTA2NHYxLjk0NTZoMi40ODkzdi0xLjk0NTZoMS4zNDQ4em0tNi4wODAxLTAuMDI4NjIgMi4yNDYxLTIuOTMyOHYyLjk0NzF6IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IiBmaWxsPSIjZmZmIiBzdHJva2Utd2lkdGg9Ii4zODMxN3B4IiBzdHlsZT0iZm9udC1mZWF0dXJlLXNldHRpbmdzOm5vcm1hbDtmb250LXZhcmlhbnQtY2Fwczpub3JtYWw7Zm9udC12YXJpYW50LWxpZ2F0dXJlczpub3JtYWw7Zm9udC12YXJpYW50LW51bWVyaWM6bm9ybWFsIi8+Cjwvc3ZnPgo=" | ||
LABEL oc.keyword="2048-alpine,2048" | ||
LABEL oc.cat="games" | ||
LABEL oc.desktopfile="org.gnome.TwentyFortyEight.desktop" | ||
LABEL oc.launch="org.gnome.TwentyFortyEight.Gnome-2048" | ||
LABEL oc.template="abcdesktopio/oc.template.alpine" | ||
LABEL oc.name="2048-alpine" | ||
LABEL oc.displayname="2048 (alpine gtk)" | ||
LABEL oc.path="/usr/bin/gnome-2048" | ||
LABEL oc.type=app | ||
LABEL oc.showinview="dock" | ||
LABEL oc.rules="{\"homedir\":{\"default\":true}}" | ||
LABEL oc.acl="{\"permit\":[\"all\"]}" | ||
LABEL oc.host_config="{\"shm_size\":\"2G\",\"ipc_mode\":\"shareable\"}" | ||
ENV APPNAME "2048-alpine" | ||
ENV APPBIN "/usr/bin/gnome-2048" | ||
# ENV APP is deprecated, removed in next release | ||
ENV APP "/usr/bin/gnome-2048" | ||
LABEL oc.containerengine="ephemeral_container" | ||
USER root | ||
RUN mkdir -p /etc/localaccount | ||
RUN for f in passwd shadow group gshadow ; do if [ -f /etc/$f ] ; then cp /etc/$f /etc/localaccount; rm -f /etc/$f; ln -s /etc/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 2048-alpine](https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/2048-alpine.d) | ||
``` sh | ||
wget https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/2048-alpine.d | ||
``` | ||
|
||
### build the `Dockerfile` to create a container image | ||
|
||
``` sh | ||
docker build --build-arg TAG= -f 2048-alpine.d -t 2048-alpine . | ||
``` | ||
|
||
### 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 | ||
|
||
``` sh | ||
ABCHOST=localhost | ||
docker inspect 2048-alpine > 2048-alpine.json | ||
docker image save 2048-alpine -o 2048-alpine.tar | ||
ctr -n k8s.io images import 2048-alpine.tar | ||
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @2048-alpine.json | ||
|
||
``` | ||
|
Oops, something went wrong.