-
Notifications
You must be signed in to change notification settings - Fork 838
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docker): can't use Makefile to build official images
- Loading branch information
Showing
2 changed files
with
4 additions
and
10 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 |
---|---|---|
@@ -1,12 +1,15 @@ | ||
FROM alpine:3.6 | ||
MAINTAINER Marco Palladino, [email protected] | ||
|
||
COPY *kong.tar.gz kong.tar.gz | ||
ENV KONG_VERSION 0.11.0 | ||
ENV KONG_SHA256 34cfd44f61a4da5d39ad7b59bad7b4790451065ff8c8c3d000b6258ab6961949 | ||
|
||
RUN apk update \ | ||
&& apk upgrade \ | ||
&& apk add --virtual .build-deps wget tar ca-certificates \ | ||
&& apk add libgcc openssl pcre perl \ | ||
&& wget -O kong.tar.gz "https://bintray.com/kong/kong-community-edition-alpine-tar/download_file?file_path=kong-community-edition-$KONG_VERSION.apk.tar.gz" \ | ||
&& echo "$KONG_SHA256 *kong.tar.gz" | sha256sum -c - \ | ||
&& tar -xzf kong.tar.gz -C /tmp \ | ||
&& rm -f kong.tar.gz \ | ||
&& cp -R /tmp/usr / \ | ||
|