forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker: Improve Published Docker Images (envoyproxy#2850)
This is an initial update to the docker images that are created and published to hub.dockerhub.com. The purpose is to provide users with an image that can be ready to run from the moment they issue docker pull. Signed-off-by: Nicholas Johns <[email protected]>
- Loading branch information
1 parent
c69f959
commit 6527996
Showing
3 changed files
with
51 additions
and
0 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,3 +1,17 @@ | ||
FROM frolvlad/alpine-glibc | ||
|
||
ENV loglevel=info | ||
|
||
RUN apk upgrade --update-cache \ | ||
&& apk add dumb-init \ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
RUN mkdir -p /etc/envoy | ||
|
||
ADD build_release_stripped/envoy /usr/local/bin/envoy | ||
ADD configs/google_com_proxy.v2.yaml /etc/envoy/envoy.yaml | ||
|
||
EXPOSE 10000 | ||
|
||
ENTRYPOINT ["/usr/bin/dumb-init", "--"] | ||
CMD /usr/local/bin/envoy --v2-config-only -l $loglevel -c /etc/envoy/envoy.yaml |
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,3 +1,17 @@ | ||
FROM frolvlad/alpine-glibc | ||
|
||
ENV loglevel=info | ||
|
||
RUN apk upgrade --update-cache \ | ||
&& apk add dumb-init \ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
RUN mkdir -p /etc/envoy | ||
|
||
ADD build_release/envoy /usr/local/bin/envoy | ||
ADD configs/google_com_proxy.v2.yaml /etc/envoy/envoy.yaml | ||
|
||
EXPOSE 10000 | ||
|
||
ENTRYPOINT ["/usr/bin/dumb-init", "--"] | ||
CMD /usr/local/bin/envoy --v2-config-only -l $loglevel -c /etc/envoy/envoy.yaml |
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,3 +1,26 @@ | ||
FROM ubuntu:16.04 | ||
|
||
ARG dumbinit_version=1.2.1 | ||
ENV loglevel=info | ||
|
||
RUN apt-get update \ | ||
&& apt-get upgrade -y \ | ||
&& apt-get install -y wget ca-certificates \ | ||
&& apt-get autoremove -y \ | ||
&& apt-get clean \ | ||
&& rm -rf /tmp/* /var/tmp/* \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
|
||
RUN wget https://github.com/Yelp/dumb-init/releases/download/v${dumbinit_version}/dumb-init_${dumbinit_version}_amd64.deb \ | ||
&& dpkg -i dumb-init_${dumbinit_version}_amd64.deb | ||
|
||
RUN mkdir -p /etc/envoy | ||
|
||
ADD build_release_stripped/envoy /usr/local/bin/envoy | ||
ADD configs/google_com_proxy.v2.yaml /etc/envoy/envoy.yaml | ||
|
||
EXPOSE 10000 | ||
|
||
ENTRYPOINT ["/usr/bin/dumb-init", "--"] | ||
CMD /usr/local/bin/envoy --v2-config-only -l $loglevel -c /etc/envoy/envoy.yaml |