-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #680 from ober/add-docs-for-docker
Add initial Readme
- Loading branch information
Showing
2 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#+title: Instructions for docker and package builds | ||
|
||
This directory has a =Makefile= and a =Dockerfile= that support building for multiple | ||
Linux distributions. | ||
|
||
Building a docker for a specific distro is as simple as | ||
#+begin_src sh | ||
make <distro> | ||
#+end_src | ||
|
||
Where distro is one of: | ||
- Alpine | ||
- AmazonLinux | ||
- Fedora | ||
- Ubuntu | ||
|
||
** Example | ||
*** Building the Docker image | ||
#+begin_src sh | ||
$ make ubuntu | ||
#+end_src | ||
*** Building the .deb/.rpm/.apk | ||
#+begin_src sh | ||
make package-ubuntu | ||
#+end_src |