forked from ccache/ccache
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker: add Alpine to new docker setup (ccache#606)
- Loading branch information
1 parent
e071bcf
commit c51bfaa
Showing
5 changed files
with
77 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM alpine:3.12 | ||
|
||
RUN apk add --no-cache \ | ||
asciidoc \ | ||
bash \ | ||
ccache \ | ||
clang \ | ||
cmake \ | ||
elfutils \ | ||
g++ \ | ||
gcc \ | ||
libc-dev \ | ||
make \ | ||
perl \ | ||
zstd-dev | ||
|
||
# redirect all compilers to ccache | ||
RUN for t in gcc g++ cc c++ clang clang++; do ln -vs /usr/bin/ccache /usr/local/bin/$t; done |
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,22 @@ | ||
# Released 2016, this is the first release to contain cmake >= 3.4.3 | ||
|
||
# Note: While alpine 3.4 runs fine, cmake 3.8.1 reports skipped tests as failures while cmake 3.9.5 reports them as skipped. | ||
# So alpine 3.7 is the first version to report exit code 0. Maybe install new cmake manually here? | ||
|
||
FROM alpine:3.4 | ||
|
||
RUN apk add --no-cache \ | ||
asciidoc \ | ||
bash \ | ||
ccache \ | ||
# clang \ | ||
cmake \ | ||
# elfutils \ (available since Alpine 3.7) | ||
g++ \ | ||
gcc \ | ||
libc-dev \ | ||
make \ | ||
perl | ||
|
||
# redirect all compilers to ccache | ||
RUN for t in gcc g++ cc c++ clang clang++; do ln -vs /usr/bin/ccache /usr/local/bin/$t; done |
This file was deleted.
Oops, something went wrong.
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