Browse Source

uses alpine image

for faster build time and smaller footprint
Luck Is With Me 4 years ago
parent
commit
6e44140e68
1 changed files with 3 additions and 6 deletions
  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
 RUN curl -L "https://git.io/tmpmail" > tmpmail && chmod +x tmpmail