-
Notifications
You must be signed in to change notification settings - Fork 345
Allow running the build with docker #564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
1a0b3b7
WIP
nik9000 0541ba7
Bump osx performance
nik9000 656ae08
Switch http server in docker
nik9000 f816179
Mostly readme
nik9000 89dec4f
smaller
nik9000 0697ac4
WIP
nik9000 e582ce7
Bump alpine version
nik9000 0b7cba1
Run as myself
nik9000 99e9bb8
WIP
nik9000 c9f0bd4
Deb is faster....
nik9000 39da578
WIP
nik9000 53847a0
Cleanup build
nik9000 a17f366
Comments
nik9000 4be5fb3
Minideb
nik9000 14d73f3
Fix --open
nik9000 89e4d33
--all works now
nik9000 4fbf9cc
Commit to debian
nik9000 b9c711a
Support not specifying --out
nik9000 1449fbe
Fix nss wrapper
nik9000 80bf9d3
Mount volumes readonly if possible
nik9000 13b55e6
Disable seccomp by default....
nik9000 67d1469
Drop git requirement
nik9000 a4154fa
Merge branch 'master' into dockerize_2
nik9000 6300453
Indent dockerfile
nik9000 820d870
Merge branch 'master' into dockerize_2
nik9000 1f8ea35
Drop all of the SENSE bits that I'm sure about
nik9000 e035d0e
Oops
nik9000 5c9882f
Drop find_git_repo
nik9000 e6c04fc
Try python
nik9000 1373ec7
Drop shell
nik9000 22b1435
Import future
nik9000 2e26ec9
Handle `=` in args and unpaired args
nik9000 0c8d195
pep8
nik9000 06e4eba
Explain funny thing
nik9000 d81f738
Web browser and paranoia around boss dying
nik9000 9efb7bb
fixup
nik9000 aea45cc
Fix git config
nik9000 8c6c137
Not .sh
nik9000 f4ff9dc
Fixup
nik9000 99a3cfb
Fix error handling if docker is down
nik9000 169c22c
Magic
nik9000 c419bb5
WIP
nik9000 dfc3963
Merge branch 'master' into dockerize_2
nik9000 7c63c6b
pep8
nik9000 a7560c2
Explain shebang
nik9000 024c56b
Merge branch 'master' into dockerize_2
nik9000 b204930
Drop nocommit
nik9000 063065a
Pitch ctrl-c
nik9000 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Indent dockerfile
- Loading branch information
commit 6300453daba4bfdd7db628fc89add6fb9f9167bc
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -1,35 +1,35 @@ | ||
LABEL MAINTAINERS="Nik Everett <[email protected]>" | ||
|
||
# Debian builds the docs about 20% faster than alpine. The image is larger | ||
# and takes longer to build but that is worth it. | ||
FROM bitnami/minideb:stretch | ||
|
||
LABEL MAINTAINERS="Nik Everett <[email protected]>" | ||
|
||
# Used by the docs build or asciidoctor | ||
RUN install_packages \ | ||
bash \ | ||
build-essential \ | ||
curl \ | ||
cmake \ | ||
git \ | ||
libnss-wrapper \ | ||
libxml2-dev \ | ||
libxml2-utils \ | ||
make \ | ||
nginx \ | ||
openssh-client \ | ||
perl-base \ | ||
python \ | ||
ruby \ | ||
ruby-dev \ | ||
unzip \ | ||
xsltproc | ||
bash \ | ||
build-essential \ | ||
curl \ | ||
cmake \ | ||
git \ | ||
libnss-wrapper \ | ||
libxml2-dev \ | ||
libxml2-utils \ | ||
make \ | ||
nginx \ | ||
openssh-client \ | ||
perl-base \ | ||
python \ | ||
ruby \ | ||
ruby-dev \ | ||
unzip \ | ||
xsltproc | ||
|
||
# We mount this log directory as tmp directory so we can't have | ||
# files there. | ||
RUN rm -rf /var/log/nginx | ||
|
||
RUN gem install --no-document \ | ||
asciidoctor:1.5.8 \ | ||
asciidoctor-diagram:1.5.12 \ | ||
asciimath:1.0.8 \ | ||
thread_safe:0.3.6 | ||
asciidoctor:1.5.8 \ | ||
asciidoctor-diagram:1.5.12 \ | ||
asciimath:1.0.8 \ | ||
thread_safe:0.3.6 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alpine is much nicer to work with but 20% slower is a big deal given how often we run this locally.