-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(transparent) adjust the test container to allow transparent prox…
…ying (#29) * fix(transparent) adjust Kong test container so it will build a transparent proxy compatible container * mend * tests(Ubuntu) add setcap * test(AWS) Amazon linux doesn't include tar by default * test(AmazonLinux) need to install gzip * test(alpine) add setcap to the alpine test container * test(aws) amazonlinux needs shadow-utils installed * chore(gitignore) * fix(rhel) hostname is a dependency
- Loading branch information
Showing
4 changed files
with
28 additions
and
6 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 |
---|---|---|
|
@@ -6,11 +6,12 @@ ARG KONG_PACKAGE_NAME="kong" | |
LABEL maintainer="Kong Core Team <[email protected]>" | ||
|
||
RUN apk add --no-cache --virtual .build-deps tar ca-certificates \ | ||
&& apk add --no-cache libgcc pcre perl tzdata bash | ||
&& apk add --no-cache libgcc pcre perl tzdata bash su-exec libcap | ||
|
||
COPY output/${KONG_PACKAGE_NAME}-${KONG_VERSION}.apk.tar.gz kong.apk.tar.gz | ||
|
||
RUN tar -xzf kong.apk.tar.gz -C /tmp \ | ||
RUN adduser -Su 1337 kong \ | ||
&& tar -xzf kong.apk.tar.gz -C /tmp \ | ||
&& rm -f kong.tar.gz \ | ||
&& cp -R /tmp/usr / \ | ||
&& rm -rf /tmp/usr \ | ||
|
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