File tree Expand file tree Collapse file tree 6 files changed +12
-9
lines changed Expand file tree Collapse file tree 6 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 11# ##############################
22# STEP 1: build rust executable
33# ##############################
4- FROM ubuntu:latest AS rustbuilder
4+ FROM ubuntu:22.04 AS rustbuilder
55
66# Upgrade and install build base
77RUN apt-get update && apt-get install -y libssl-dev curl wget build-essential pkg-config make m4
@@ -14,6 +14,7 @@ RUN cargo --version
1414# Create appuser
1515RUN adduser --no-create-home --disabled-password appuser
1616
17+ # Set workdir
1718WORKDIR /app
1819
1920# Copy local dependencies
@@ -38,7 +39,7 @@ RUN cargo build --release
3839# ##############################
3940# STEP 2: build a small image
4041# ##############################
41- FROM ubuntu:latest
42+ FROM ubuntu:22.04
4243
4344# Upgrade
4445RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget sqlite3 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 11# Creates a docker image to run an executable built outside of the image
22# This relies on the fact the mithril-aggregator executable has been built
33# on a debian-compatible x86-64 environment
4- FROM ubuntu:latest
4+ FROM ubuntu:22.04
55
66# Upgrade
77RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget sqlite3 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 11# ##############################
22# STEP 1: build rust executable
33# ##############################
4- FROM ubuntu:latest AS rustbuilder
4+ FROM ubuntu:22.04 AS rustbuilder
55
66# Upgrade and install build base
77RUN apt-get update && apt-get install -y libssl-dev curl wget build-essential pkg-config make m4
@@ -14,6 +14,7 @@ RUN cargo --version
1414# Create appuser
1515RUN adduser --no-create-home --disabled-password appuser
1616
17+ # Set workdir
1718WORKDIR /app
1819
1920# Copy local dependencies
@@ -37,7 +38,7 @@ RUN cargo build --release
3738# ##############################
3839# STEP 2: build a small image
3940# ##############################
40- FROM ubuntu:latest
41+ FROM ubuntu:22.04
4142
4243# Upgrade
4344RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 11# Creates a docker image to run an executable built outside of the image
22# This relies on the fact the mithril-client executable has been built
33# on a debian-compatible x86-64 environment
4- FROM ubuntu:latest
4+ FROM ubuntu:22.04
55
66# Upgrade
77RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 11# ##############################
22# STEP 1: build rust executable
33# ##############################
4- FROM ubuntu:latest AS rustbuilder
4+ FROM ubuntu:22.04 AS rustbuilder
55
66# Upgrade and install build base
77RUN apt-get update && apt-get install -y libssl-dev curl wget build-essential pkg-config make m4
@@ -14,6 +14,7 @@ RUN cargo --version
1414# Create appuser
1515RUN adduser --no-create-home --disabled-password appuser
1616
17+ # Set workdir
1718WORKDIR /app
1819
1920# Copy local dependencies
@@ -38,7 +39,7 @@ RUN cargo build --release
3839# ##############################
3940# STEP 2: build a small image
4041# ##############################
41- FROM ubuntu:latest
42+ FROM ubuntu:22.04
4243
4344# Upgrade
4445RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget sqlite3 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 11# Creates a docker image to run an executable built outside of the image
22# This relies on the fact the mithril-signer executable has been built
33# on a debian-compatible x86-64 environment
4- FROM ubuntu:latest
4+ FROM ubuntu:22.04
55
66# Upgrade
77RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget sqlite3 && rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments