Skip to content

Commit

Permalink
updated to bookworm/pve8 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
lanrat authored Jun 1, 2024
1 parent 61d9e5b commit ff9268e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.md
.git/
.github/
Makefile
Dockerfile
LICENSE
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM debian:buster-slim
FROM debian:bookworm-slim

LABEL description="Corosync Qdevice Network daemon"
LABEL documentation="man:corosync-qnetd"

# Install the proxmox repository signing key.
ADD "https://enterprise.proxmox.com/debian/proxmox-ve-release-6.x.gpg" \
/etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
ADD "https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg" \
/etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg

# Create the coroqnetd user and group, set the sticky bit on /var/run so
# corosync-qnetd can create its runtime directory, and install the proxmox
Expand All @@ -17,8 +17,8 @@ ADD "https://enterprise.proxmox.com/debian/proxmox-ve-release-6.x.gpg" \
RUN adduser --quiet --system --disabled-login --no-create-home \
--home /etc/corosync/qnetd --group --uid=903 coroqnetd \
&& chmod 1777 /var/run \
&& chmod a+r /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg \
&& echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" \
&& chmod a+r /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg \
&& echo "deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription" \
> /etc/apt/sources.list.d/corosync3.list \
&& mkdir -p /etc/corosync/qnetd/nssdb \
&& touch /etc/corosync/qnetd/nssdb/cert9.db \
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
ARGS ?= -t corosync-qnetd:latest

build:
docker pull debian:buster-slim
docker build $(ARGS) .

0 comments on commit ff9268e

Please sign in to comment.