mirror of
https://github.com/RoboSats/robo-identities.git
synced 2026-01-27 00:15:42 +00:00
23 lines
518 B
Docker
23 lines
518 B
Docker
FROM debian:testing-slim
|
|
|
|
# install common packages
|
|
RUN apt-get update && \
|
|
apt-get install --no-install-recommends -y \
|
|
ca-certificates curl file \
|
|
build-essential \
|
|
autoconf automake autotools-dev libtool xutils-dev && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# install Rust toolchain
|
|
RUN curl https://sh.rustup.rs -sSf | \
|
|
sh -s -- --default-toolchain nightly -y
|
|
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
|
|
|
# install depdendencies
|
|
RUN cargo install wasm-pack
|
|
|
|
COPY . /app
|
|
|
|
WORKDIR /app/robo-identities-wasm
|