commit 1389afb2e9cdab2cde8b43d42e4115fa4ec8aae3 Author: nyyu Date: Tue Apr 30 09:00:39 2024 +0200 feat: init 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