Merge pull request #1580 from atbore-phx/docker-light
[CI] Reduce size of Docker Images
This commit is contained in:
commit
2f6068decc
5 changed files with 10 additions and 9 deletions
|
@ -39,6 +39,6 @@ bmysql:
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||||
log_driver: none
|
log_driver: none
|
||||||
brabbitmq:
|
brabbitmq:
|
||||||
image: rabbitmq:3
|
image: rabbitmq:3-alpine
|
||||||
environment:
|
environment:
|
||||||
RABBITMQ_NODE_IP_ADDRESS: "0.0.0.0"
|
RABBITMQ_NODE_IP_ADDRESS: "0.0.0.0"
|
||||||
|
|
|
@ -12,6 +12,6 @@ consul:
|
||||||
- "8302"
|
- "8302"
|
||||||
- "8302/udp"
|
- "8302/udp"
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx
|
image: nginx:alpine
|
||||||
ports:
|
ports:
|
||||||
- "8881:80"
|
- "8881:80"
|
||||||
|
|
|
@ -12,6 +12,6 @@ consul:
|
||||||
- "8302"
|
- "8302"
|
||||||
- "8302/udp"
|
- "8302/udp"
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx
|
image: nginx:alpine
|
||||||
ports:
|
ports:
|
||||||
- "8881:80"
|
- "8881:80"
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
nginx1:
|
nginx1:
|
||||||
image: nginx
|
image: nginx:alpine
|
||||||
ports:
|
ports:
|
||||||
- "8881:80"
|
- "8881:80"
|
||||||
nginx2:
|
nginx2:
|
||||||
image: nginx
|
image: nginx:alpine
|
||||||
ports:
|
ports:
|
||||||
- "8882:80"
|
- "8882:80"
|
||||||
nginx3:
|
nginx3:
|
||||||
image: nginx
|
image: nginx:alpine
|
||||||
ports:
|
ports:
|
||||||
- "8883:80"
|
- "8883:80"
|
||||||
nginx4:
|
nginx4:
|
||||||
image: nginx
|
image: nginx:alpine
|
||||||
ports:
|
ports:
|
||||||
- "8884:80"
|
- "8884:80"
|
||||||
nginx5:
|
nginx5:
|
||||||
image: nginx
|
image: nginx:alpine
|
||||||
ports:
|
ports:
|
||||||
- "8885:80"
|
- "8885:80"
|
||||||
|
|
|
@ -7,7 +7,8 @@ RUN apt-get -yq update \
|
||||||
&& apt-get -yq --no-install-suggests --no-install-recommends --force-yes install apt-transport-https \
|
&& apt-get -yq --no-install-suggests --no-install-recommends --force-yes install apt-transport-https \
|
||||||
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||||
&& apt-get -yq update && apt-get -yq --no-install-suggests --no-install-recommends --force-yes install yarn
|
&& apt-get -yq update && apt-get -yq --no-install-suggests --no-install-recommends --force-yes install yarn \
|
||||||
|
&& rm -fr /var/lib/apt/lists/
|
||||||
|
|
||||||
COPY package.json $WEBUI_DIR/
|
COPY package.json $WEBUI_DIR/
|
||||||
COPY yarn.lock $WEBUI_DIR/
|
COPY yarn.lock $WEBUI_DIR/
|
||||||
|
|
Loading…
Reference in a new issue