Fix docker build issue (#4816)

This PR fixes docker build issue, as it looks like
debian changed `stable/update` to `stable-security/update`.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2021-08-16 09:50:47 -07:00 committed by GitHub
parent a977998747
commit 4b9bc138d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
FROM debian:stable-slim FROM debian:stable-slim
RUN sed -i.bak s@stable/update@stable-security/update@g /etc/apt/sources.list
RUN apt-get update && apt-get -uy upgrade RUN apt-get update && apt-get -uy upgrade
RUN apt-get -y install ca-certificates && update-ca-certificates RUN apt-get -y install ca-certificates && update-ca-certificates