File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ARG VERSION=1.4.1
12
23FROM rust:1.84-alpine AS builder
34
4- WORKDIR /app
5+ ARG VERSION
56
6- COPY ./arti/Cargo.toml ./arti/Cargo.lock ./
7- COPY ./arti/ .
7+ WORKDIR /app
88
9- RUN apk add --no-cache musl-dev openssl-dev openssl-libs-static sqlite-dev sqlite-static
9+ RUN apk add --no-cache git musl-dev openssl-dev openssl-libs-static sqlite-dev sqlite-static
10+ RUN git clone https://gitlab.torproject.org/tpo/core/arti.git .
11+ RUN git checkout arti-v${VERSION}
1012RUN cargo build --release
1113
1214FROM alpine:latest AS runner
1315
16+ ARG VERSION
17+
1418LABEL maintainer="artur@magicgrants.org" \
15- version="1.4.0" \
19+ version=${VERSION} \
1620 org.opencontainers.image.source="https://github.com/MAGICGrants/arti-docker"
1721
1822COPY --from=builder /app/target/release/arti /usr/local/bin/
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments