فهرست منبع

uses alpine image

for faster build time and smaller footprint
Luck Is With Me 4 سال پیش
والد
کامیت
6e44140e68
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