From 1389afb2e9cdab2cde8b43d42e4115fa4ec8aae3 Mon Sep 17 00:00:00 2001 From: nyyu Date: Tue, 30 Apr 2024 09:00:39 +0200 Subject: [PATCH] feat: init --- .woodpecker.yml | 15 +++++++++++++++ Dockerfile | 11 +++++++++++ renovate.json | 5 +++++ 3 files changed, 31 insertions(+) create mode 100644 .woodpecker.yml create mode 100644 Dockerfile create mode 100644 renovate.json diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..d43b3fa --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,15 @@ +steps: + docker: + image: docker-public.nyyu.dev/nyyu/plugin-kaniko + pull: true + settings: + username: + from_secret: registry_username + password: + from_secret: registry_password + repo: ${CI_REPO_OWNER}/ts3server + registry: ${DOCKER_REGISTRY} + auto_tag: true + when: + event: [tag] + branch: ${CI_REPO_DEFAULT_BRANCH} diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3383d60 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM alpine:3.19 +ARG TS3SERVER_VER=3.13.7 +ARG USER=185 +RUN apk add --no-cache ca-certificates gcompat libstdc++ && \ + mkdir /app && \ + wget -qO- https://files.teamspeak-services.com/releases/server/${TS3SERVER_VER}/teamspeak3-server_linux_amd64-${TS3SERVER_VER}.tar.bz2 | \ + tar -jxf - -C /app --strip-components=1 && \ + adduser -D -H -h /data -u $USER ts3 && mkdir /data && chown $USER:$USER /data +USER $USER +WORKDIR /data +ENTRYPOINT ["/app/ts3server"] diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..561873c --- /dev/null +++ b/renovate.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended", ":dependencyDashboard"] + } + \ No newline at end of file