From cf66141e660b4db1c71d4f2e232f64ebadb540ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20B=C3=BClow?= Date: Wed, 31 Jan 2024 14:15:55 +0100 Subject: [PATCH] moves home back to /home/abc --- .woodpecker.yaml | 25 +++++++++++++++++++++++++ Dockerfile | 7 +++++++ 2 files changed, 32 insertions(+) create mode 100644 .woodpecker.yaml create mode 100644 Dockerfile diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..b504075 --- /dev/null +++ b/.woodpecker.yaml @@ -0,0 +1,25 @@ +# Build and publish Docker images for multible architectures. +# +# Pushing an image to codeberg as container registry, +# package owner will be the repo owner. +# +# this config also shows usage of yaml aliases and +# was taken from https://codeberg.org/6543/docker-images/src/commit/37e29c227717c1c07d2776cddcf147 +# 25bf952875/.woodpecker/hello.yml + +when: + branch: main + +steps: + build-container: + image: woodpeckerci/plugin-docker-buildx + settings: + dockerfile: Dockerfile + platforms: linux/arm64/v8,linux/amd64 + repo: git.jmbit.de/jmb/webtop-plus + registry: git.jmbit.de + username: jmb + password: + from_secret: forgejo_token + when: + event: push diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c17a114 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM lscr.io/linuxserver/webtop +LABEL authors="Johannes Bülow " +RUN mkdir /home/abc && chown -R abc:abc /home/abc && usermod -d /home/abc abc +ENV HOME=/home/abc \ + START_DOCKER=false + +EXPOSE 3000 3001