Skip to content

Commit

Permalink
FIX Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelSheremetev committed Nov 19, 2022
1 parent 8412083 commit 96ff3ba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ jobs:
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2.1.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2.2.1

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
13 changes: 8 additions & 5 deletions scripts/docker/Dockerfile
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
Expand All @@ -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 && \
Expand Down

0 comments on commit 96ff3ba

Please sign in to comment.