dockerfiles: upgrade to ubuntu:20.04; some chore (#3828)

* dockerfiles: upgrade to ubuntu:20.04; some chore

* dockerfiles: fq container names
This commit is contained in:
Denis Pisarev
2021-09-13 14:34:29 +02:00
committed by GitHub
parent 33d7f9dd7b
commit 3800575db4
12 changed files with 41 additions and 39 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
#
# See the `deployments/README.md` for all the available `PROJECT` values.
FROM paritytech/bridges-ci:latest as builder
FROM docker.io/paritytech/bridges-ci:latest as builder
WORKDIR /parity-bridges-common
COPY . .
@@ -19,7 +19,7 @@ RUN cargo build --release --verbose -p ${PROJECT} && \
# In this final stage we copy over the final binary and do some checks
# to make sure that everything looks good.
FROM ubuntu:20.04 as runtime
FROM docker.io/library/ubuntu:20.04 as runtime
# show backtraces
ENV RUST_BACKTRACE 1
+1 -1
View File
@@ -1,7 +1,7 @@
# This file is a "runtime" part from a builder-pattern in Dockerfile, it's used in CI.
# The only different part is that the compilation happens externally,
# so COPY has a different source.
FROM ubuntu:20.04
FROM docker.io/library/ubuntu:20.04
# show backtraces
ENV RUST_BACKTRACE 1
@@ -2,7 +2,7 @@
#
# This image is meant to be used as a building block when building images for
# the various components in the bridge repo, such as nodes and relayers.
FROM ubuntu:20.04
FROM docker.io/library/ubuntu:20.04
ENV LAST_DEPS_UPDATE 2021-04-01
ENV DEBIAN_FRONTEND=noninteractive
@@ -1,4 +1,4 @@
FROM node:12 as build-deps
FROM docker.io/library/node:12 as build-deps
# install tools and dependencies
RUN set -eux; \
@@ -19,7 +19,7 @@ ENV EXPECTED_ETHEREUM_NETWORK_ID $EXPECTED_ETHEREUM_NETWORK_ID
RUN yarn build:docker
# Stage 2 - the production environment
FROM nginx:1.12
FROM docker.io/library/nginx:1.12
COPY --from=build-deps /usr/src/bridge-ui/nginx/*.conf /etc/nginx/conf.d/
COPY --from=build-deps /usr/src/bridge-ui/dist /usr/share/nginx/html
EXPOSE 80
@@ -1,4 +1,4 @@
FROM ruby:alpine
FROM docker.io/library/ruby:alpine
RUN apk add --no-cache git
@@ -1,4 +1,4 @@
FROM ubuntu:xenial AS builder
FROM docker.io/library/ubuntu:xenial AS builder
# show backtraces
ENV RUST_BACKTRACE 1
@@ -60,7 +60,7 @@ WORKDIR /openethereum
RUN cargo build --release --verbose
RUN strip ./target/release/openethereum
FROM ubuntu:xenial
FROM docker.io/library/ubuntu:xenial
# show backtraces
ENV RUST_BACKTRACE 1