Skip to content

Commit

Permalink
fix(docker): can't use Makefile to build official images
Browse files Browse the repository at this point in the history
  • Loading branch information
hutchic authored and p0pr0ck5 committed Oct 6, 2017
1 parent a0183f8 commit b0dfde7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
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 / \
Expand Down
9 changes: 0 additions & 9 deletions Makefile

This file was deleted.

0 comments on commit b0dfde7

Please sign in to comment.