mirror of
https://github.com/MAGICGrants/arti-docker.git
synced 2026-01-09 20:27:53 -05:00
1.4.1
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +0,0 @@
|
||||
[submodule "arti"]
|
||||
path = arti
|
||||
url = https://gitlab.torproject.org/tpo/core/arti.git
|
||||
14
Dockerfile
14
Dockerfile
@@ -1,18 +1,22 @@
|
||||
ARG VERSION=1.4.1
|
||||
|
||||
FROM rust:1.84-alpine AS builder
|
||||
|
||||
ARG VERSION
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./arti/Cargo.toml ./arti/Cargo.lock ./
|
||||
COPY ./arti/ .
|
||||
|
||||
RUN apk add --no-cache musl-dev openssl-dev openssl-libs-static sqlite-dev sqlite-static
|
||||
RUN apk add --no-cache git musl-dev openssl-dev openssl-libs-static sqlite-dev sqlite-static
|
||||
RUN git clone https://gitlab.torproject.org/tpo/core/arti.git .
|
||||
RUN git checkout arti-v${VERSION}
|
||||
RUN cargo build --release
|
||||
|
||||
FROM alpine:latest AS runner
|
||||
|
||||
ARG VERSION
|
||||
|
||||
LABEL maintainer="artur@magicgrants.org" \
|
||||
version="1.4.0" \
|
||||
version=${VERSION} \
|
||||
org.opencontainers.image.source="https://github.com/MAGICGrants/arti-docker"
|
||||
|
||||
COPY --from=builder /app/target/release/arti /usr/local/bin/
|
||||
|
||||
1
arti
1
arti
Submodule arti deleted from 6598a0a01c
Reference in New Issue
Block a user