From 0f23415e980a8b44f3cb2b2ba8db17f1737d25a7 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Mon, 25 Mar 2019 11:21:40 +0800 Subject: [PATCH] Update Dockerfile-alpine (#166) * Dockerfile-alpine: update Alpine to v3.9 ttyd in Alpine v3.6 repository is v1.3.2, in Alpine v3.9, it's v1.4.2 * Dockerfile-alpine: simplify package installation Use `--no-cache` to avoid the need to use `--update` and remove `/var/cache/apk/*` manually --- Dockerfile-alpine | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile-alpine b/Dockerfile-alpine index 767529a..b427373 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -1,11 +1,10 @@ -FROM alpine:3.6 +FROM alpine:3.9 LABEL maintainer "Shuanglei Tao - tsl0922@gmail.com" \ maintainer "Damien Duportal - damien.duportal@gmail.com" -RUN apk add --update \ +RUN apk add --no-cache \ bash \ - ttyd \ - && rm -rf /var/cache/apk/* + ttyd EXPOSE 7681 -- 2.43.4