Skip to content

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 48 commits into from
Feb 6, 2019
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
1a0b3b7
WIP
nik9000 Jan 23, 2019
0541ba7
Bump osx performance
nik9000 Jan 23, 2019
656ae08
Switch http server in docker
nik9000 Jan 23, 2019
f816179
Mostly readme
nik9000 Jan 23, 2019
89dec4f
smaller
nik9000 Jan 25, 2019
0697ac4
WIP
nik9000 Jan 25, 2019
e582ce7
Bump alpine version
nik9000 Jan 25, 2019
0b7cba1
Run as myself
nik9000 Jan 25, 2019
99e9bb8
WIP
nik9000 Jan 25, 2019
c9f0bd4
Deb is faster....
nik9000 Jan 25, 2019
39da578
WIP
nik9000 Jan 26, 2019
53847a0
Cleanup build
nik9000 Jan 28, 2019
a17f366
Comments
nik9000 Jan 28, 2019
4be5fb3
Minideb
nik9000 Jan 28, 2019
14d73f3
Fix --open
nik9000 Jan 28, 2019
89e4d33
--all works now
nik9000 Jan 29, 2019
4fbf9cc
Commit to debian
nik9000 Jan 29, 2019
b9c711a
Support not specifying --out
nik9000 Jan 29, 2019
1449fbe
Fix nss wrapper
nik9000 Jan 29, 2019
80bf9d3
Mount volumes readonly if possible
nik9000 Jan 29, 2019
13b55e6
Disable seccomp by default....
nik9000 Jan 29, 2019
67d1469
Drop git requirement
nik9000 Jan 29, 2019
a4154fa
Merge branch 'master' into dockerize_2
nik9000 Jan 31, 2019
6300453
Indent dockerfile
nik9000 Jan 31, 2019
820d870
Merge branch 'master' into dockerize_2
nik9000 Jan 31, 2019
1f8ea35
Drop all of the SENSE bits that I'm sure about
nik9000 Jan 31, 2019
e035d0e
Oops
nik9000 Jan 31, 2019
5c9882f
Drop find_git_repo
nik9000 Jan 31, 2019
e6c04fc
Try python
nik9000 Jan 31, 2019
1373ec7
Drop shell
nik9000 Feb 1, 2019
22b1435
Import future
nik9000 Feb 1, 2019
2e26ec9
Handle `=` in args and unpaired args
nik9000 Feb 1, 2019
0c8d195
pep8
nik9000 Feb 1, 2019
06e4eba
Explain funny thing
nik9000 Feb 1, 2019
d81f738
Web browser and paranoia around boss dying
nik9000 Feb 1, 2019
9efb7bb
fixup
nik9000 Feb 1, 2019
aea45cc
Fix git config
nik9000 Feb 2, 2019
8c6c137
Not .sh
nik9000 Feb 5, 2019
f4ff9dc
Fixup
nik9000 Feb 5, 2019
99a3cfb
Fix error handling if docker is down
nik9000 Feb 5, 2019
169c22c
Magic
nik9000 Feb 5, 2019
c419bb5
WIP
nik9000 Feb 5, 2019
dfc3963
Merge branch 'master' into dockerize_2
nik9000 Feb 5, 2019
7c63c6b
pep8
nik9000 Feb 5, 2019
a7560c2
Explain shebang
nik9000 Feb 5, 2019
024c56b
Merge branch 'master' into dockerize_2
nik9000 Feb 5, 2019
b204930
Drop nocommit
nik9000 Feb 5, 2019
063065a
Pitch ctrl-c
nik9000 Feb 5, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Indent dockerfile
  • Loading branch information
nik9000 committed Jan 31, 2019
commit 6300453daba4bfdd7db628fc89add6fb9f9167bc
46 changes: 23 additions & 23 deletions Dockerfile
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
Copy link
Member Author

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.


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