Selaa lähdekoodia

Merge pull request #70 from diggajupadhyay/master

Dockerfile & Readme updated
Siddharth Dushantha 3 vuotta sitten
vanhempi
sitoutus
4ca0fc715c
2 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 2 1
      Dockerfile
  2. 2 1
      README.md

+ 2 - 1
Dockerfile

@@ -1,8 +1,9 @@
-FROM alpine
+FROM alpine:3.15.3
 
 
 RUN apk -U upgrade
 RUN apk -U upgrade
 
 
 RUN apk --no-cache add curl jq w3m \
 RUN apk --no-cache add curl jq w3m \
+    xclip # doesnot work because it requires X server \
     util-linux # for "columns" binary
     util-linux # for "columns" binary
 
 
 RUN curl -L "https://git.io/tmpmail" > tmpmail && chmod +x tmpmail
 RUN curl -L "https://git.io/tmpmail" > tmpmail && chmod +x tmpmail

+ 2 - 1
README.md

@@ -19,6 +19,7 @@ use the `--browser` argument followed by the command needed to launch the web br
 - `w3m`
 - `w3m`
 - `curl`
 - `curl`
 - [`jq`](https://github.com/stedolan/jq)
 - [`jq`](https://github.com/stedolan/jq)
+- `xclip`
 
 
 ## Installation
 ## Installation
 ### Install locally
 ### Install locally
@@ -58,7 +59,7 @@ requirements:
 
 
 ```bash                                                                                        
 ```bash                                                                                        
 $ docker build -t mail .; # Dockerfile available in source code
 $ docker build -t mail .; # Dockerfile available in source code
-$ docker run -it mail /bin/bash; 
+$ docker run -it mail;
 ```   
 ```   
 
 
 ## Usage
 ## Usage