-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the version 0.0.4 of the build plugin
Drops support for non-buildkit builds. Adds the following: - multi-arch builds (amd64, arm64, etc) - custom build of confd to support arm64 - unique build caches per image (should reduce cache misses) - fixes fits (mediainfo, exifdata, file info) - update gradle version to latest (match plugin) - child images of tomcat can override tomcat properties - child images of nginx can override php/nginx properties - updated to use latest alpine 3.13 - php is no 7.4 - imagemagick only builds what is required (no longer make clibs, etc) - general refactors
- Loading branch information
1 parent
4995819
commit f429178
Showing
65 changed files
with
1,270 additions
and
373 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
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
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 |
---|---|---|
@@ -1,12 +1,17 @@ | ||
# syntax=docker/dockerfile:1.2.1 | ||
FROM alpine:3.11.6 | ||
ARG repository=local | ||
ARG tag=latest | ||
FROM ${repository}/download:${tag} AS download | ||
FROM alpine:3.13.2 AS cache | ||
FROM alpine:3.13.2 | ||
|
||
RUN --mount=type=cache,target=/var/cache/apk \ | ||
--mount=type=cache,target=/etc/cache/apk \ | ||
RUN --mount=type=cache,id=abuild-apk,sharing=locked,from=cache,target=/var/cache/apk \ | ||
ln -s /var/cache/apk /etc/apk/cache && \ | ||
apk add --update \ | ||
apk add \ | ||
alpine-sdk \ | ||
coreutils \ | ||
sudo \ | ||
&& \ | ||
adduser -G abuild -g "Alpine Package Builder" -s /bin/ash -D builder && \ | ||
echo "builder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers | ||
|
||
COPY --from=download /usr/local/bin/*.sh /usr/local/bin |
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
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
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
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.