Skip to content
Snippets Groups Projects
Commit a59c86c6 authored by Odin Ugedal's avatar Odin Ugedal Committed by Tom Wilkie
Browse files

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.
parent 961dd351
No related branches found
No related tags found
No related merge requests found
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
......
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment