Skip to content

Commit 57afddf

Browse files
committed
Use pnpm 6.0.0 to generate the lockfile
Signed-off-by: Jose Fernandez <[email protected]>
1 parent 5ed4e1e commit 57afddf

File tree

3 files changed

+608
-749
lines changed

3 files changed

+608
-749
lines changed

Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM ubuntu:22.04 AS builder
2+
3+
RUN apt-get update && \
4+
apt-get install -y build-essential git curl npm zip pkg-config libudev-dev jq
5+
6+
# Version supported by the Decky CI
7+
RUN npm install -g [email protected]
8+
9+
# Install Rust using rustup
10+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
11+
12+
# Configure environment for Rust
13+
ENV PATH="/root/.cargo/bin:${PATH}"
14+
15+
WORKDIR /app
16+
17+
COPY . .
18+
19+
RUN pnpm install --force
20+
21+
RUN ./release.sh
22+
23+
FROM scratch AS binaries
24+
25+
COPY --from=builder /app/pnpm-lock.yaml /
26+
COPY --from=builder /app/*.zip /

0 commit comments

Comments
 (0)