This commit is contained in:
commit
717e1552f4
2 changed files with 32 additions and 0 deletions
17
.woodpecker.yml
Normal file
17
.woodpecker.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
when:
|
||||
- event: [push, manual]
|
||||
branch: main
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
platforms: linux/amd64
|
||||
registry: forgejo.venusian.stream
|
||||
repo: forgejo.venusian.stream/homelab/balatromp
|
||||
tags:
|
||||
- latest
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
FROM debian:bookworm-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y wget
|
||||
|
||||
RUN wget https://github.com/Balatro-Multiplayer/BalatroMultiplayer/releases/download/v0.2.11/server-linux
|
||||
|
||||
RUN apt-get purge -y wget && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
RUN chmod +x server-linux
|
||||
|
||||
# Run the binary
|
||||
CMD ["./server-linux"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue