Skip to content

Commit 84305da

Browse files
authored
build: resolve docker warning (#1003)
1 parent b76df58 commit 84305da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

distribution/containers/Dockerfile.distroless

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG RTORRENT_IMAGE=docker.io/jesec/rtorrent:master
22

3-
FROM docker.io/alpine as build
3+
FROM docker.io/alpine AS build
44

55
WORKDIR /root
66

@@ -27,7 +27,7 @@ RUN mkdir -p /root/sysroot/home/download
2727
RUN chown 1001:1001 /root/sysroot/home/download
2828

2929
# flood image
30-
FROM scratch as flood
30+
FROM scratch AS flood
3131

3232
COPY --from=build /root/sysroot /
3333

@@ -43,8 +43,8 @@ ENV FLOOD_OPTION_HOST="0.0.0.0"
4343
ENTRYPOINT ["/bin/tini", "--", "flood"]
4444

4545
# rtorrent-flood image
46-
FROM ${RTORRENT_IMAGE} as rtorrent
47-
FROM flood as rtorrent-flood
46+
FROM ${RTORRENT_IMAGE} AS rtorrent
47+
FROM flood AS rtorrent-flood
4848

4949
# Install rTorrent
5050
COPY --from=rtorrent / /

0 commit comments

Comments
 (0)