Skip to content

Commit

Permalink
Install g++
Browse files Browse the repository at this point in the history
  • Loading branch information
deuszx committed Nov 24, 2023
1 parent a862d63 commit 32e3510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ RUN set -eux \
&& cargo --version \
&& rustc --version \
&& apt-get remove -y --auto-remove wget \
&& apt-get -y install gcc make \
&& apt-get -y install gcc make g++ \
&& rm -rf /var/lib/apt/lists/*

FROM slimmed-rust as cc-builder

# This is important, see https://github.com/rust-lang/docker-rust/issues/85
ENV RUSTFLAGS="-C target-feature=-crt-static"

RUN apt-get -y update && apt-get -y install gcc g++ git
RUN apt-get -y update && apt-get -y install git

# Use https instead of git so that we don't have to install required for using git://
RUN git clone --depth 1 --branch v${CARGO_CONTRACT_VERSION} https://github.com/paritytech/cargo-contract.git
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

MAKEFILE_NAME := Ink development docker
DOCKER_NAME_INK_DEV := cardinal-cryptography/ink-dev
DOCKER_TAG := 2.0.0
DOCKER_TAG := 2.0.1

# Native arch
BUILDARCH := $(shell uname -m)
Expand Down

0 comments on commit 32e3510

Please sign in to comment.