Skip to content

Commit a4f9199

Browse files
committed
Dockerfiles: use apt-get instead of apt
1 parent 56aa635 commit a4f9199

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ FROM debian:stable-slim
22

33
ARG DEBIAN_FRONTEND=noninteractive
44

5-
RUN apt update && \
6-
apt upgrade -y && \
7-
apt install -y --no-install-recommends --no-install-suggests \
5+
RUN apt-get update && \
6+
apt-get upgrade -y && \
7+
apt-get install -y --no-install-recommends --no-install-suggests \
88
ca-certificates dumb-init nginx-full libnginx-mod-http-lua libnss3-tools curl && \
99
rm -rf /var/lib/apt/lists/*
1010

backend/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ FROM debian:stable-slim
1313

1414
ARG DEBIAN_FRONTEND=noninteractive
1515

16-
RUN apt update && \
17-
apt upgrade -y && \
18-
apt install -y --no-install-recommends ca-certificates && \
16+
RUN apt-get update && \
17+
apt-get upgrade -y && \
18+
apt-get install -y --no-install-recommends ca-certificates && \
1919
rm -rf /var/lib/apt/lists/*
2020

2121
COPY --from=builder /app/backend /app/

0 commit comments

Comments
 (0)