Skip to content

Commit 727b918

Browse files
committed
1.4.1
1 parent ea126e2 commit 727b918

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

Dockerfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1+
ARG VERSION=1.4.1
12

23
FROM 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}
1012
RUN cargo build --release
1113

1214
FROM alpine:latest AS runner
1315

16+
ARG VERSION
17+
1418
LABEL maintainer="artur@magicgrants.org" \
15-
version="1.4.0" \
19+
version=${VERSION} \
1620
org.opencontainers.image.source="https://github.com/MAGICGrants/arti-docker"
1721

1822
COPY --from=builder /app/target/release/arti /usr/local/bin/

arti

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)