tangled
alpha
login
or
join now
parakeet.at
/
plc-mirror
11
fork
atom
A PLC Mirror written in Rust
11
fork
atom
overview
issues
2
pulls
pipelines
docker tweaks
mia.omg.lol
10 months ago
0c68ffe5
f503ff71
+4
-2
2 changed files
expand all
collapse all
unified
split
.gitlab-ci.yml
Dockerfile
+2
.gitlab-ci.yml
···
1
1
include:
2
2
# 1: include the component
3
3
- component: $CI_SERVER_FQDN/to-be-continuous/docker/gitlab-ci-docker@6.1.7
4
4
+
inputs:
5
5
+
hadolint-args: --ignore DL3008
+2
-2
Dockerfile
···
1
1
FROM rust:1.85-slim-bookworm AS builder
2
2
WORKDIR /work
3
3
-
RUN apt-get update && apt-get install -y libssl-dev pkg-config && rm -rf /var/lib/apt/lists/*
3
3
+
RUN apt-get update && apt-get install -y --no-install-recommends libssl-dev pkg-config && rm -rf /var/lib/apt/lists/*
4
4
COPY . .
5
5
RUN cargo build --release
6
6
7
7
FROM debian:bookworm-slim
8
8
-
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
8
8
+
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/*
9
9
COPY --from=builder /work/target/release/plc-mirror /usr/local/bin/plc-mirror
10
10
CMD ["plc-mirror"]