Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claudiopro/mydockerbuild
:whale: Docker image used in the getting started with Docker tutorial
https://github.com/claudiopro/mydockerbuild
Last synced: about 1 month ago
JSON representation
:whale: Docker image used in the getting started with Docker tutorial
- Host: GitHub
- URL: https://github.com/claudiopro/mydockerbuild
- Owner: claudiopro
- Created: 2015-09-16T10:22:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-16T11:16:44.000Z (over 9 years ago)
- Last Synced: 2023-08-02T02:35:56.295Z (over 1 year ago)
- Language: Shell
- Size: 121 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mydockerbuild
Repo for the exercise of the [getting started with Docker](https://docs.docker.com/mac/started) tutorial.
```
________________________________________
/ "Once they go up, who cares where they \
| come down? That's not my department." |
| |
\ -- Werner von Braun /
----------------------------------------
\
\
\
## .
## ## ## ==
## ## ## ## ===
/""""""""""""""""___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\______/
```This repo contains a `Dockerfile` which performs the following steps:
* Downloads the [whalesay image](https://hub.docker.com/r/docker/whalesay/), a variation of the popular [cowsay](https://github.com/schacon/cowsay) Linux program
* Installs the `fortune` program via `apt-get` (this image is based on Ubuntu)
* Feeds the output of `fortune` to `cowsay`, showing the random quote in the balloon uttered (???) by the whale# Usage
The repo provides scripts to build and run the image.
## Build
Execute the following command:
```bash
./build.sh
```## Run
Execute the following command:
```bash
./run.sh
```# License
MIT