Skip to content

Commit 1aa41f7

Browse files
Merge branch 'master' into feature/add-ubuntu-iso-support
2 parents 5e3de9a + f2b4ddb commit 1aa41f7

File tree

7 files changed

+18
-15
lines changed

7 files changed

+18
-15
lines changed

.github/workflows/artifacts.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ jobs:
7373
run: |
7474
sed -i -e "/BASE_OS/s/ubuntu/debian/" docker-compose.yml
7575
sed -i -e "/UNATTENDED/s/true/false/" docker-compose.yml
76-
docker-compose up --build
76+
docker compose build
77+
docker compose up
7778
7879
- name: Check Debian ISO attended
7980
run: |
@@ -90,7 +91,8 @@ jobs:
9091
run: |
9192
sed -i -e "/BASE_OS/s/ubuntu/debian/" docker-compose.yml
9293
sed -i -e "/UNATTENDED/s/false/true/" docker-compose.yml
93-
docker-compose up --build
94+
docker compose build
95+
docker compose up
9496
9597
- name: Check Debian ISO unattended
9698
run: |

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ jobs:
7070
run: |
7171
sed -i -e "/BASE_OS/s/ubuntu/debian/" docker-compose.yml
7272
sed -i -e "/UNATTENDED/s/true/false/" docker-compose.yml
73-
docker-compose up --build
73+
docker compose build
74+
docker compose up
7475
7576
- name: Check Debian ISO attended
7677
run: |
@@ -85,7 +86,8 @@ jobs:
8586
- name: Build Debian unattended
8687
run: |
8788
sed -i -e "/UNATTENDED/s/false/true/" docker-compose.yml
88-
docker-compose up --build
89+
docker compose build
90+
docker compose up
8991
9092
- name: Check Debian ISO unattended
9193
run: |

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
uses: actions/checkout@v4
4141
- name: create iso
4242
run: |
43-
docker-compose up --build
43+
docker compose build
44+
docker compose up
45+
ls images/
4446
- name: verify image
4547
run: |
4648
ls -lrt images/Dappnode-*.iso

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ FROM docker:dind
22
# hadolint ignore=DL3018
33
RUN apk update && \
44
apk add --no-cache xorriso git xz curl ca-certificates iptables cpio bash perl-utils \
5-
docker-compose && \
65
rm -rf /var/cache/apk/*
76

87
#RUN apk add -U --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing aufs-util

funding.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"opRetro": {
3+
"projectId": "0xf839a585342327848d4541a6fcc315404e879537a60a1370f2cd45a94283a1ba"
4+
}
5+
}

iso/scripts/generate_dappnode_iso_debian.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ SCRIPTS_DIR=$(dirname "${BASH_SOURCE[0]}")
66
source ${SCRIPTS_DIR}/common_iso_generation.sh
77

88
# Source = https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.5.0-amd64-netinst.iso
9-
BASE_ISO_NAME="debian-12.5.0-amd64-netinst.iso"
9+
BASE_ISO_NAME="debian-12.7.0-amd64-netinst.iso"
1010
BASE_ISO_PATH="/images/${BASE_ISO_NAME}"
1111
BASE_ISO_URL="https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/${BASE_ISO_NAME}"
12-
BASE_ISO_SHASUM="013f5b44670d81280b5b1bc02455842b250df2f0c6763398feb69af1a805a14f ${BASE_ISO_PATH}"
12+
BASE_ISO_SHASUM="8fde79cfc6b20a696200fc5c15219cf6d721e8feb367e9e0e33a79d1cb68fa83 ${BASE_ISO_PATH}"
1313

1414
DAPPNODE_ISO_NAME="${DAPPNODE_ISO_PREFIX}${BASE_ISO_NAME}"
1515
DAPPNODE_ISO_PATH="/images/${DAPPNODE_ISO_NAME}"

scripts/dappnode_install_pre.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,6 @@ else
168168
install_docker 2>&1 | tee -a $LOG_FILE
169169
fi
170170

171-
# Only install docker-compose if needed
172-
if docker-compose -v >/dev/null 2>&1; then
173-
echo -e "\e[32m \n\n docker-compose is already aliased \n\n \e[0m" 2>&1 | tee -a $LOG_FILE
174-
else
175-
alias_docker_compose 2>&1 | tee -a $LOG_FILE
176-
fi
177-
178171
# Only install wireguard-dkms if needed
179172
if modprobe wireguard >/dev/null 2>&1; then
180173
echo -e "\e[32m \n\n wireguard-dkms is already installed \n\n \e[0m" 2>&1 | tee -a $LOG_FILE

0 commit comments

Comments
 (0)