forked from airalab/robonomics
-
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.
- Loading branch information
PavelSheremetev
committed
Nov 19, 2022
1 parent
8412083
commit 96ff3ba
Showing
2 changed files
with
11 additions
and
8 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
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,4 +1,4 @@ | ||
FROM ubuntu:20.04 as builder | ||
FROM ubuntu:22.04 as builder | ||
|
||
# metadata | ||
ARG VCS_REF | ||
|
@@ -16,11 +16,14 @@ LABEL io.parity.image.authors="[email protected]" \ | |
# show backtraces | ||
ENV RUST_BACKTRACE 1 | ||
|
||
RUN apt-get update && apt-get install jq curl bash -y && \ | ||
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ | ||
RUN apt-get update && \ | ||
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ | ||
apt-get install dialog apt-utils -y && \ | ||
apt-get install jq curl bash gcc g++ make -y && \ | ||
curl -sL https://deb.nodesource.com/setup_18.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
npm install --global yarn && \ | ||
yarn global add @polkadot/api-cli && \ | ||
npm install -g npm@latest && \ | ||
npm install -g @polkadot/api-cli && \ | ||
useradd -m -u 1000 -U -s /bin/sh -d /robonomics robonomics && \ | ||
mkdir -p /robonomics/.local/share && \ | ||
mkdir /data && \ | ||
|