commit b4d2436d12e059e10d52a7f8724163e5133afa05 Author: Jason Date: Mon Feb 14 16:48:01 2022 -0500 🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠 diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4fb33f6 --- /dev/null +++ b/Dockerfile @@ -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 " + +COPY --from=stage /. / + +CMD startxfce4 diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..86d4345 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,13 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2022 Jason Hempstead + + 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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..c082da0 --- /dev/null +++ b/README.md @@ -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) ⛵