-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- leverage the upstream packages for debian - for alpine, us the aports - simplify update.sh
- Loading branch information
Guillaume Quintard
committed
May 3, 2019
1 parent
55d15a6
commit 75533b7
Showing
29 changed files
with
235 additions
and
1,087 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# | ||
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" | ||
# | ||
# PLEASE DO NOT EDIT IT DIRECTLY. | ||
# | ||
|
||
# | ||
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" | ||
# | ||
# PLEASE DO NOT EDIT IT DIRECTLY. | ||
# | ||
|
||
FROM alpine:3.8 | ||
|
||
RUN apk add git alpine-sdk && \ | ||
adduser -D builder && \ | ||
addgroup builder abuild && \ | ||
chgrp abuild /var/cache/distfiles && \ | ||
su builder -c "abuild-keygen -na" && \ | ||
chmod g+w /var/cache/distfiles && \ | ||
su builder -c "git clone https://git.alpinelinux.org/aports /tmp/aports" && \ | ||
cd /tmp/aports/main/varnish && \ | ||
su builder -c "abuild checksum && abuild -r" && \ | ||
apk add ~builder/packages/main/x86_64/*.apk --allow-untrusted | ||
|
||
WORKDIR /usr/local/var/varnish | ||
RUN chown -R varnish:varnish /usr/local/var/varnish | ||
VOLUME /usr/local/var/varnish | ||
|
||
COPY docker-varnish-entrypoint /usr/local/bin/ | ||
ENTRYPOINT ["docker-varnish-entrypoint"] | ||
|
||
EXPOSE 80 | ||
CMD ["varnishd", "-F", "-f", "/usr/local/etc/varnish/default.vcl"] |
File renamed without changes.
Oops, something went wrong.