2021-03-19 12:53:48 +09:00
|
|
|
FROM node:lts-alpine
|
2020-06-10 19:55:40 +09:00
|
|
|
|
2020-11-26 15:30:19 +09:00
|
|
|
ENV RUSTFLAGS="-C target-feature=-crt-static" \
|
2020-11-28 01:25:44 +09:00
|
|
|
PATH="/usr/local/cargo/bin/rustup:/root/.cargo/bin:$PATH" \
|
2020-11-26 15:30:19 +09:00
|
|
|
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
|