🦈🏠🐜 Initial Commit 🐜🦈🏠

This commit is contained in:
Jason 2022-02-14 16:48:01 -05:00
commit b4d2436d12
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
3 changed files with 94 additions and 0 deletions

37
Dockerfile Normal file
View File

@ -0,0 +1,37 @@
FROM casjaysdev/alpine:latest as stage
RUN apk update && \
apk add --no-cache \
xfce4 \
xfce4-terminal \
xfce4-screensaver \
lightdm-gtk-greeter \
dbus \
xfce4
FROM scratch
ARG BUILD_DATE="$(date +'%Y-%m-%d %H:%M')"
ENV \
SHELL=/bin/bash; \
TERM=xterm-256color; \
HOSTNAME=${HOSTNAME:-casjaysdev-xfce4}; \
TZ=${TZ:-America/New_York};
LABEL \
org.label-schema.name="alpine" \
org.label-schema.description="Base Alpine Linux" \
org.label-schema.url="https://github.com/casjaysdev/alpine" \
org.label-schema.vcs-url="https://github.com/casjaysdev/alpine" \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.version=$BUILD_DATE \
org.label-schema.vcs-ref=$BUILD_DATE \
org.label-schema.license="MIT" \
org.label-schema.vcs-type="Git" \
org.label-schema.schema-version="latest" \
org.label-schema.vendor="CasjaysDev" \
maintainer="CasjaysDev <docker-admin@casjaysdev.com>"
COPY --from=stage /. /
CMD startxfce4

13
LICENSE.md Normal file
View File

@ -0,0 +1,13 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2022 Jason Hempstead <git-admin@casjaysdev.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1. You just DO WHAT THE FUCK YOU WANT TO.

44
README.md Normal file
View File

@ -0,0 +1,44 @@
# 👋 xfce4 Readme 👋
xfce4 README
## Run container
### via command line
```shell
docker run -d \
--restart always \
--name xfce4 \
--net=host \
-e HOSTNAME=xfce4 \
-e TZ=${TIMEZONE:-America/New_York} \
-e DISPLAY=$DISPLAY \
-v $HOME/.Xauthority:/root/.Xauthority \
-v /tmp/.X11-unix:/tmp/.X11-unix \
casjaysdev/xfce4:latest
```
### via docker-compose
```yaml
version: "2"
services:
xfce4:
image: casjaysdev/xfce4
container_name: xfce4
environment:
- TZ=America/New_York
- HOSTNAME=xfce4
volumes:
- $HOME/.local/share/docker/storage/xfce4/data:/data
- $HOME/.local/share/docker/storage/xfce4/config:/config
ports:
- 80:80
restart: always
```
## Authors
🤖 Casjay: [Github](https://github.com/casjay) [Docker](https://hub.docker.com/casjay) 🤖
⛵ CasjaysDev: [Github](https://github.com/casjaysdev) [Docker](https://hub.docker.com/casjaysdev) ⛵