Skip to content

Commit 5f8269c

Browse files
authored
Merge pull request #108 from choria-io/debian-13
Add support for Debian 13 (trixie)
2 parents 3c3b68a + a16d0ef commit 5f8269c

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed

.github/workflows/containers.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ jobs:
3838
hub_user: ${{ secrets.REGISTRY_RELEASE_USERNAME }}
3939
hub_password: ${{ secrets.REGISTRY_RELEASE_PASSWORD }}
4040

41+
trixie_go:
42+
runs-on: ubuntu-latest
43+
steps:
44+
- name: Checkout code
45+
uses: actions/checkout@v4
46+
47+
- uses: ./.github/actions/build-packager
48+
with:
49+
file: Dockerfile.trixie-go
50+
go: ${{ env.GO_VERSION }}
51+
tag: trixie-go${{ env.TAG }}
52+
hub_user: ${{ secrets.REGISTRY_RELEASE_USERNAME }}
53+
hub_password: ${{ secrets.REGISTRY_RELEASE_PASSWORD }}
54+
4155
debian_go:
4256
needs:
4357
- bookworm_go

Dockerfile.trixie-go

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
FROM debian:trixie
2+
3+
ARG GOVERSION="1.24.6"
4+
RUN echo -n trixie_64 > /etc/packager.txt
5+
6+
RUN apt-get update && apt-get install -y \
7+
dpkg-dev \
8+
wget \
9+
ruby \
10+
rake \
11+
debhelper \
12+
git \
13+
msitools \
14+
wixl
15+
16+
RUN wget -q https://dl.google.com/go/go${GOVERSION}.linux-amd64.tar.gz && \
17+
tar -C /usr/local -xzf go${GOVERSION}.linux-amd64.tar.gz && \
18+
rm -f go${GOVERSION}.linux-amd64.tar.gz
19+
20+
WORKDIR /build/source
21+
22+
VOLUME /go
23+
VOLUME /build/artifacts
24+
25+
ENV RUBYLIB /packager/lib
26+
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin
27+
ENV GOPATH /go
28+
ENV GO111MODULE on
29+
30+
COPY lib /packager/lib/
31+
COPY bin /packager/bin/
32+
COPY install-choria.sh /bin
33+
34+
CMD /packager/bin/packager.rb

install-choria.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ case "${FLAVOUR?}" in
3434

3535
;;
3636

37+
trixie_64)
38+
wget -O /tmp/puppet.deb https://s3.osuosl.org/openvox-apt/openvox8-release-debian13.deb
39+
40+
;;
41+
3742
bionic_64)
3843
wget -O /tmp/puppet.deb https://s3.osuosl.org/openvox-apt/openvox8-release-ubuntu18.04.deb
3944

0 commit comments

Comments
 (0)