generated from SteamDeckHomebrew/decky-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pnpm 6.0.0 to generate the lockfile
Signed-off-by: Jose Fernandez <[email protected]>
- Loading branch information
1 parent
5ed4e1e
commit 57afddf
Showing
3 changed files
with
608 additions
and
749 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 / |
Oops, something went wrong.