Skip to content

Commit 21fa0ff

Browse files
authored
Merge pull request #10 from code0-tech/5-setup-taurus-build
Setup taurus build
2 parents c44d165 + fe47b70 commit 21fa0ff

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

.gitlab-ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,11 @@ container:draco:
7272
matrix:
7373
- VARIANT:
7474
- rest
75+
76+
container:taurus:
77+
extends:
78+
- .single-image-build-base
79+
needs:
80+
- container:rust
81+
variables:
82+
NEED_PROJECT_DOWNLOAD: 'true'

container/taurus/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ARG RETICULUM_IMAGE_TAG=local
2+
3+
FROM ghcr.io/code0-tech/reticulum/ci-builds/rust:$RETICULUM_IMAGE_TAG AS builder
4+
5+
WORKDIR /taurus
6+
COPY projects/taurus .
7+
RUN cargo build --release
8+
9+
FROM alpine:3.21
10+
11+
RUN apk --update add libc6-compat
12+
COPY --from=builder /taurus/target/release/taurus .
13+
14+
CMD ["/taurus"]

versions/taurus

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
abad3fcfa14a3cce1cc910d9fb0dc0fbf53b4b86

0 commit comments

Comments
 (0)