From 9f4a2093a6cffe16c164bf533f4663eb7523a829 Mon Sep 17 00:00:00 2001 From: Nicolas Favre-Felix Date: Fri, 25 Dec 2020 14:57:30 -0800 Subject: [PATCH] Dockerfile updates * Bump alpine version from 3.11.3 to 3.12.3 * Use `LABEL` instead of `MAINTAINER` which is deprecated --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f921e55..74b5eaf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -FROM alpine:3.11.3 AS stage -MAINTAINER Nicolas Favre-Felix +FROM alpine:3.12.3 AS stage +LABEL maintainer="Nicolas Favre-Felix " RUN apk update && apk add wget make gcc libevent-dev msgpack-c-dev musl-dev bsd-compat-headers jq RUN wget -q https://api.github.com/repos/nicolasff/webdis/tags -O /dev/stdout | jq '.[] | .name' | head -1 | sed 's/"//g' > latest @@ -9,7 +9,7 @@ RUN cd webdis-$(cat latest) && make && make install && cd .. RUN sed -i -e 's/"daemonize":.*true,/"daemonize": false,/g' /etc/webdis.prod.json # main image -FROM alpine:3.11.3 +FROM alpine:3.12.3 RUN apk update && apk add libevent msgpack-c redis COPY --from=stage /usr/local/bin/webdis /usr/local/bin/ COPY --from=stage /etc/webdis.prod.json /etc/webdis.prod.json