Skip to content

Commit

Permalink
Use pnpm 6.0.0 to generate the lockfile
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Fernandez <[email protected]>
  • Loading branch information
jfernandez committed May 31, 2024
1 parent 5ed4e1e commit 57afddf
Show file tree
Hide file tree
Showing 3 changed files with 608 additions and 749 deletions.
26 changes: 26 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FROM ubuntu:22.04 AS builder

RUN apt-get update && \
apt-get install -y build-essential git curl npm zip pkg-config libudev-dev jq

# Version supported by the Decky CI
RUN npm install -g [email protected]

# Install Rust using rustup
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

# Configure environment for Rust
ENV PATH="/root/.cargo/bin:${PATH}"

WORKDIR /app

COPY . .

RUN pnpm install --force

RUN ./release.sh

FROM scratch AS binaries

COPY --from=builder /app/pnpm-lock.yaml /
COPY --from=builder /app/*.zip /
Loading

0 comments on commit 57afddf

Please sign in to comment.