fix: use buildpack-deps:bullseye instead of debian

This commit is contained in:
Amin Yahyaabadi 2021-09-18 12:28:27 -05:00
parent 6c72c2f17c
commit 7c8fc671f9
2 changed files with 2 additions and 4 deletions

View File

@ -134,11 +134,10 @@ Here is an example for using setup_cpp to make a builder image that has the cpp
```dockerfile
# debian
FROM debian:bullseye
FROM buildpack-deps:bullseye
# add setup_cpp
WORKDIR "/"
RUN apt-get update -qq && apt-get install -y --no-install-recommends wget
RUN wget "https://github.com/aminya/setup-cpp/releases/download/v0.2/setup_cpp_linux"
RUN chmod +x ./setup_cpp_linux

View File

@ -1,9 +1,8 @@
# debian
FROM debian:bullseye
FROM buildpack-deps:bullseye
# add setup_cpp
WORKDIR "/"
RUN apt-get update -qq && apt-get install -y --no-install-recommends wget
RUN wget "https://github.com/aminya/setup-cpp/releases/download/v0.2/setup_cpp_linux"
RUN chmod +x ./setup_cpp_linux