From f22cf5be74596bb4acd8eb648a9caa42cfa384d7 Mon Sep 17 00:00:00 2001 From: rcooke-warwick Date: Tue, 22 Aug 2023 10:38:14 +0100 Subject: [PATCH] change registry from docker to bh.cr This will allow to pull + use newer OS images (> 2.95.12) Change-type: patch Signed-off-by: Ryan Cooke --- Dockerfile.template | 4 ++-- docker-compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile.template b/Dockerfile.template index 96ebcb3..7dc1848 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -3,7 +3,7 @@ ARG OS_VERSION ARG DEVICE_TYPE=%%BALENA_MACHINE_NAME%% -FROM resin/resinos:${OS_VERSION}-${DEVICE_TYPE} +FROM bh.cr/balena_os/${DEVICE_TYPE}:${OS_VERSION} COPY ./entry.sh /entry.sh COPY ./conf/systemd-watchdog.conf /etc/systemd/system.conf.d/watchdog.conf @@ -17,4 +17,4 @@ VOLUME /mnt/boot \ CMD [ "/entry.sh" ] # avoid display crash on some host systems -RUN rm /lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service +RUN rm /lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 330624a..8aa9a00 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: context: . dockerfile: Dockerfile.template args: - OS_VERSION: ${OS_VERSION:-2.95.12_rev1} + OS_VERSION: ${OS_VERSION:-3.2.4} DEVICE_TYPE: ${DEVICE_TYPE:-genericx86-64-ext} privileged: true stop_signal: SIGRTMIN+3 @@ -33,4 +33,4 @@ services: volumes: boot: data: - state: + state: \ No newline at end of file