Skip to content

Commit 2e5f033

Browse files
committed
feat: add debian image
1 parent 9e967c4 commit 2e5f033

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.github/workflows/debian.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: debian
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- master
8+
paths:
9+
- docker/debian/**
10+
- scripts/**
11+
12+
jobs:
13+
build:
14+
uses: ./.github/workflows/bake.yml
15+
secrets: inherit
16+
with:
17+
path: docker/debian
18+
target: release

docker/debian/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ARG VERSION
2+
3+
FROM debian:${VERSION}-slim
4+
5+
RUN addgroup --gid 1000 satoshi && \
6+
adduser --home /home --uid 1000 --gid 1000 satoshi && \
7+
chown -R satoshi:satoshi /home
8+
9+
COPY ./scripts/update-user.sh /docker/update-user.sh
10+
COPY ./scripts/entrypoint.sh /docker/entrypoint.sh
11+
12+
ENTRYPOINT [ "/docker/entrypoint.sh", "bash"]

docker/debian/image.hcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
VERSION="bookworm"
2+
NAME="debian"
3+
DESCRIPTION="LN Markets base debian image"

0 commit comments

Comments
 (0)