瀏覽代碼

Merge pull request #66 from diggajupadhyay/master

uses alpine image
Siddharth Dushantha 4 年之前
父節點
當前提交
f080264348
共有 1 個文件被更改,包括 3 次插入6 次删除
  1. 3 6
      Dockerfile

+ 3 - 6
Dockerfile

@@ -1,11 +1,8 @@
-FROM ubuntu
+FROM alpine
 
-RUN apt-get update 
+RUN apk -U upgrade
 
-RUN apt-get upgrade -y
-
-RUN apt-get install -y curl jq w3m \ 
-  bsdmainutils # for "columns" binary
+RUN apk --no-cache add curl jq w3m
 
 
 RUN curl -L "https://git.io/tmpmail" > tmpmail && chmod +x tmpmail