Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update alpine base image in Dockerfiles to v3.11 #1450

Merged
merged 13 commits into from
Apr 16, 2020
4 changes: 2 additions & 2 deletions Dockerfile.child_chain
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.8
FROM alpine:3.11

LABEL maintainer="OmiseGO Team <omg@omise.co>"
LABEL description="Official image for OmiseGO (Child Chain) Plasma Network"
Expand Down Expand Up @@ -53,7 +53,7 @@ RUN set -xe \
#rocksdb from builder image to deployer image
RUN mkdir -p /usr/local/rocksdb/lib
RUN mkdir /usr/local/rocksdb/include
COPY --from=omisegoimages/elixir-omg-builder:stable-20200407 /usr/local/rocksdb/ /usr/local/rocksdb/
COPY --from=omisegoimages/elixir-omg-builder:stable-20200410 /usr/local/rocksdb/ /usr/local/rocksdb/

ARG release_version
ADD _build_docker/prod/child_chain-${release_version}.tar.gz /app
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.watcher
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.8
FROM alpine:3.11

LABEL maintainer="OmiseGO Team <omg@omise.co>"
LABEL description="Official image for OmiseGO (Watcher) Plasma Network"
Expand Down Expand Up @@ -54,7 +54,7 @@ RUN set -xe \
#rocksdb from builder image to deployer image
RUN mkdir -p /usr/local/rocksdb/lib
RUN mkdir /usr/local/rocksdb/include
COPY --from=omisegoimages/elixir-omg-builder:stable-20200407 /usr/local/rocksdb/ /usr/local/rocksdb/
COPY --from=omisegoimages/elixir-omg-builder:stable-20200410 /usr/local/rocksdb/ /usr/local/rocksdb/

ARG release_version
ADD _build_docker/prod/watcher-${release_version}.tar.gz /app
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.watcher_info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.8
FROM alpine:3.11

LABEL maintainer="OmiseGO Team <omg@omise.co>"
LABEL description="Official image for OmiseGO (WatcherInfo) Plasma Network"
Expand Down Expand Up @@ -54,7 +54,7 @@ RUN set -xe \
#rocksdb from builder image to deployer image
RUN mkdir -p /usr/local/rocksdb/lib
RUN mkdir /usr/local/rocksdb/include
COPY --from=omisegoimages/elixir-omg-builder:stable-20200407 /usr/local/rocksdb/ /usr/local/rocksdb/
COPY --from=omisegoimages/elixir-omg-builder:stable-20200410 /usr/local/rocksdb/ /usr/local/rocksdb/

ARG release_version
ADD _build_docker/prod/watcher_info-${release_version}.tar.gz /app
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ WATCHER_IMAGE_NAME ?= "omisego/watcher:latest"
WATCHER_INFO_IMAGE_NAME ?= "omisego/watcher_info:latest"
CHILD_CHAIN_IMAGE_NAME ?= "omisego/child_chain:latest"

IMAGE_BUILDER ?= "omisegoimages/elixir-omg-builder:stable-20200407"
IMAGE_BUILDER ?= "omisegoimages/elixir-omg-builder:stable-20200410"
IMAGE_BUILD_DIR ?= $(PWD)

ENV_DEV ?= env MIX_ENV=dev
Expand Down Expand Up @@ -364,7 +364,7 @@ docker-remote-watcher_info:

docker-remote-childchain:
docker exec -ti childchain /app/bin/child_chain remote

.PHONY: docker-nuke docker-remote-watcher docker-remote-watcher_info docker-remote-childchain

###
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "2.3"
services:
elixir-omg:
image: omisegoimages/elixir-omg-builder:stable-20200407
image: omisegoimages/elixir-omg-builder:stable-20200410
environment:
DATABASE_URL: postgres://omisego_dev:omisego_dev@postgres:5432/omisego_dev
volumes:
Expand Down Expand Up @@ -43,4 +43,4 @@ services:
- "2003-2004:2003-2004"
- "2023-2024:2023-2024"
- "8125:8125/udp"
- "8126:8126/tcp"
- "8126:8126/tcp"