File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,8 @@ updates:
10
10
directory : " /"
11
11
schedule :
12
12
interval : " daily"
13
+
14
+ - package-ecosystem : " docker"
15
+ directory : " /"
16
+ schedule :
17
+ interval : " daily"
Original file line number Diff line number Diff line change 1
1
# Cross-compile the app for musl to create a statically-linked binary for alpine.
2
- FROM clux/muslrust :1.43.1-stable AS rust
2
+ FROM rust :1.50 AS rust
3
3
RUN rustup component add clippy rustfmt
4
4
WORKDIR /app
5
5
COPY Cargo.toml Cargo.lock .rustfmt.toml ./
@@ -21,7 +21,9 @@ RUN find . -type f | xargs shellcheck -e SC1008
21
21
RUN shfmt -d .
22
22
23
23
24
- FROM oznu/s6-alpine:3.11
24
+ FROM debian:buster-slim
25
+ ADD https://github.com/just-containers/s6-overlay/releases/download/v2.2.0.1/s6-overlay-amd64-installer /tmp/
26
+ RUN chmod +x /tmp/s6-overlay-amd64-installer && /tmp/s6-overlay-amd64-installer /
25
27
ENV \
26
28
# Fail if cont-init scripts exit with non-zero code.
27
29
S6_BEHAVIOUR_IF_STAGE2_FAILS=2 \
33
35
PUID="" \
34
36
PGID="" \
35
37
GITOUT_ARGS=""
36
- RUN apk update && \
37
- apk add ca-certificates curl && \
38
- rm -rf /var/cache/apk/*
38
+ RUN apt-get update && \
39
+ apt-get install -y --no-install-recommends \
40
+ curl \
41
+ && \
42
+ rm -rf /var/lib/apt/lists/*
39
43
COPY root/ /
40
44
WORKDIR /app
41
- COPY --from=rust /app/target/x86_64-unknown-linux-musl/ release/gitout ./
45
+ COPY --from=rust /app/target/release/gitout ./
You can’t perform that action at this time.
0 commit comments