https://github.com/stsquad/dockerfiles
A random assortment of Dockerfiles
https://github.com/stsquad/dockerfiles
Last synced: 4 months ago
JSON representation
A random assortment of Dockerfiles
- Host: GitHub
- URL: https://github.com/stsquad/dockerfiles
- Owner: stsquad
- Created: 2018-11-12T17:00:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-20T14:00:42.000Z (over 2 years ago)
- Last Synced: 2025-05-01T12:07:33.392Z (about 1 year ago)
- Language: Dockerfile
- Size: 81.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* Intro
#+BEGIN_VERSE
These are my Dockerfiles,
There are many like them but these are mine,
My Dockerfiles are my friends,
I must master them as I must master my life,
Without me they are useless, [fn:1]
Without them I am useless, [fn:2]
#+END_VERSE
[fn:1] They do sometimes hard code my user id in them
[fn:2] Hopefully not that useless ;-)
* Layout
There is one docker recipe per directory. Some recipes require a
previous layer to be built. For example:
#+name: building-cross-environment
#+header: :results output
#+begin_src sh
cd distros/debian-bullseye/
../../build.sh
cd ../../crossbuild/bullseye-arm64/
../../build.sh
#+end_src
there is no magic orchestration to do this so look at the Dockerfile.
* Building
The [[file:build.sh][build script]] is super dumb and basically just works out a tag for
the image and sets a few arguments. Because it snarfs details from uid
it expects to be running the docker tools as the user. Typically this
means you need to be a member of the `docker` group.