Skip to content

Commit

Permalink
Switch to downloading from github
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Dec 6, 2024
1 parent 715c063 commit 9fe70d6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
FROM rust:1.82.0-alpine3.20 AS builder
FROM alpine:3.20 AS builder

RUN apk add --no-cache linux-headers make musl-dev
RUN apk add --no-cache curl

RUN cargo install [email protected]
ARG VERSION=0.14.0-dev.6
RUN curl -L -o uiua.zip https://github.com/uiua-lang/uiua/releases/download/${VERSION}/uiua-bin-x86_64-unknown-linux-gnu-no-audio.zip && \
unzip uiua.zip && \
mv uiua /usr/local/bin

FROM alpine:3.20

RUN apk add --no-cache jq
RUN apk add --no-cache jq libc6-compat

COPY --from=builder /usr/local/cargo/bin/uiua /usr/local/bin
COPY --from=builder /usr/local/bin/uiua /usr/local/bin

WORKDIR /opt/test-runner
COPY . .
Expand Down

0 comments on commit 9fe70d6

Please sign in to comment.