Skip to content

Commit 4b9e9fa

Browse files
committed
updated dockerfile
1 parent 0ba6c23 commit 4b9e9fa

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM debian:stretch
1+
FROM debian:jessie
22

33
ADD git-tag /git-tag
44

55
ADD scripts/build.sh /build.sh
66
ADD scripts/run.sh /run.sh
77

8-
RUN apt-get -qq update && apt-get upgrade -y && chmod +x /run.sh /build.sh && sync && sleep 1 && /build.sh
8+
RUN apt update && apt full-upgrade -y && chmod +x /run.sh /build.sh && sync && sleep 1 && /build.sh
99

1010
WORKDIR /
1111

build_and_push.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ docker buildx ls
2222
docker buildx create --name mybuilder
2323
docker buildx use mybuilder
2424

25-
# linux/arm/v7 changed to linux/arm to be more generic
26-
docker buildx build --platform linux/amd64,linux/arm64,linux/arm -t $MY_IMAGE_NAME:latest -t $MY_IMAGE_NAME:$NETDATA_VERSION --push .
25+
# REMOVED linux/arm64 as debie:jessie isn't built for linux/arm64
26+
docker buildx build --platform linux/amd64,linux/arm -t $MY_IMAGE_NAME:latest -t $MY_IMAGE_NAME:$NETDATA_VERSION --push .

0 commit comments

Comments
 (0)