mirror of
https://github.com/grafana/grafana.git
synced 2024-12-25 16:31:28 -06:00
Docker: Upgrade to base on Alpine 3.12 (#25936)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
parent
8e36a15968
commit
463e8ffd92
@ -1,4 +1,4 @@
|
||||
FROM node:12.16.3-alpine3.11 as js-builder
|
||||
FROM node:12.18.1-alpine3.12 as js-builder
|
||||
|
||||
WORKDIR /usr/src/app/
|
||||
|
||||
@ -16,7 +16,7 @@ COPY emails emails
|
||||
ENV NODE_ENV production
|
||||
RUN ./node_modules/.bin/grunt build
|
||||
|
||||
FROM golang:1.14.2-alpine3.11 as go-builder
|
||||
FROM golang:1.14.4-alpine3.12 as go-builder
|
||||
|
||||
RUN apk add --no-cache gcc g++
|
||||
|
||||
@ -32,7 +32,7 @@ COPY build.go package.json ./
|
||||
RUN go run build.go build
|
||||
|
||||
# Final stage
|
||||
FROM alpine:3.11
|
||||
FROM alpine:3.12
|
||||
|
||||
LABEL maintainer="Grafana team <hello@grafana.com>"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG BASE_IMAGE=alpine:3.11
|
||||
ARG BASE_IMAGE=alpine:3.12
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
ARG GRAFANA_TGZ="grafana-latest.linux-x64-musl.tar.gz"
|
||||
|
@ -60,7 +60,7 @@ docker_build () {
|
||||
if [ $UBUNTU_BASE = "0" ]; then
|
||||
libc="-musl"
|
||||
dockerfile="Dockerfile"
|
||||
base_image="${base_arch}alpine:3.11"
|
||||
base_image="${base_arch}alpine:3.12"
|
||||
else
|
||||
libc=""
|
||||
dockerfile="ubuntu.Dockerfile"
|
||||
|
Loading…
Reference in New Issue
Block a user