From a59c86c68fac3dc14844a53d8fd9cd35e0a3c223 Mon Sep 17 00:00:00 2001 From: Odin Ugedal <odin@ugedal.com> Date: Thu, 7 Feb 2019 13:16:32 +0100 Subject: [PATCH] Switch docker base image to alpine 3.9 alpine:3.4 only contains a docker image for arm64, so building for other architectures doesn't work. The newest alpine relases, 3.9, is therefore better. --- cmd/loki/Dockerfile | 4 ++-- cmd/promtail/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/loki/Dockerfile b/cmd/loki/Dockerfile index 73467ece..feb074da 100644 --- a/cmd/loki/Dockerfile +++ b/cmd/loki/Dockerfile @@ -1,5 +1,5 @@ -FROM alpine:3.4 -RUN apk add --update --no-cache ca-certificates && rm /var/cache/apk/* +FROM alpine:3.9 +RUN apk add --update --no-cache ca-certificates COPY loki /bin/loki COPY loki-local-config.yaml /etc/loki/local-config.yaml EXPOSE 80 diff --git a/cmd/promtail/Dockerfile b/cmd/promtail/Dockerfile index c586fcce..13667253 100644 --- a/cmd/promtail/Dockerfile +++ b/cmd/promtail/Dockerfile @@ -1,5 +1,5 @@ -FROM alpine:3.4 -RUN apk add --update --no-cache ca-certificates && rm /var/cache/apk/* +FROM alpine:3.9 +RUN apk add --update --no-cache ca-certificates ADD promtail /usr/bin COPY promtail-local-config.yaml /etc/promtail/local-config.yaml COPY promtail-docker-config.yaml /etc/promtail/docker-config.yaml -- GitLab