From: Peter Dave Hello Date: Mon, 25 Mar 2019 03:21:40 +0000 (+0800) Subject: Update Dockerfile-alpine (#166) X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=0f23415e980a8b44f3cb2b2ba8db17f1737d25a7;p=ttyd.git 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 --- 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