@@ -0,0 +1,14 @@
+FROM ubuntu
+
+RUN apt-get update
+RUN apt-get upgrade -y
+RUN apt-get install -y curl jq w3m \
+ bsdmainutils # for "columns" binary
+RUN curl -L "https://git.io/tmpmail" > tmpmail && chmod +x tmpmail
+RUN mv tmpmail /bin/
@@ -43,6 +43,18 @@ $ yay -S tmpmail-git
Either add it to your system packages, install it with nix-env or try it out in a ephemeral nix-shell `nix-shell -p tmpmail`
+### Docker
+requirements:
+ - [docker](https://www.docker.com/)
+ - clone this repo
+```bash
+$ docker build -t mail .; # Dockerfile available in source code
+$ docker run -it mail /bin/bash;
+# tmpmail; # already inside a docker container
+```
## Usage
```console
$ tmpmail --help