2020-11-26 15:30:19 +09:00
|
|
|
FROM node:10-alpine
|
2020-06-10 19:55:40 +09:00
|
|
|
|
2020-11-26 15:30:19 +09:00
|
|
|
ENV RUSTFLAGS="-C target-feature=-crt-static" \
|
|
|
|
PATH="/root/.cargo/bin:$PATH" \
|
|
|
|
CC="clang" \
|
|
|
|
CXX="clang++"
|
2020-06-10 19:55:40 +09:00
|
|
|
|
|
|
|
RUN sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories && \
|
|
|
|
apk update && \
|
2020-11-26 15:30:19 +09:00
|
|
|
apk add rustup musl-dev build-base && \
|
|
|
|
rustup-init -y
|