We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ed4e1e commit 57afddfCopy full SHA for 57afddf
Dockerfile
@@ -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