-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
33 lines (23 loc) · 892 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM cimg/rust:1.80.1-browsers
RUN rustup --version; \
cargo --version; \
rustc --version;
RUN rustup update; \
rustup target add wasm32-unknown-unknown; \
cargo install cargo-insta; \
cargo install wasm-pack; \
rustup component add clippy; \
corepack enable --install-directory ~/bin
RUN mkdir /home/circleci/store; \
pnpm config set store-dir /home/circleci/store
RUN echo $0
ENV SHELL="/bin/bash"
RUN pnpm setup
RUN source /home/circleci/.bashrc
RUN pnpm config set script-shell /bin/bash
RUN sudo chown -R circleci /usr/local/lib/node_modules
RUN sudo chown -R circleci /usr/local/bin
RUN npm install @openapitools/openapi-generator-cli -g
RUN openapi-generator-cli version
RUN cargo install sccache
RUN curl --proto '=https' --tlsv1.2 -LsSf https://github.com/1Password/typeshare/releases/download/v1.9.2/typeshare-cli-v1.9.2-installer.sh | sh