feat: init
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2024-04-30 09:00:39 +02:00
commit 1389afb2e9
3 changed files with 31 additions and 0 deletions

15
.woodpecker.yml Normal file
View file

@ -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}

11
Dockerfile Normal file
View file

@ -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"]

5
renovate.json Normal file
View file

@ -0,0 +1,5 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":dependencyDashboard"]
}