mirror of https://github.com/aminya/setup-cpp
fix: use buildpack-deps:bullseye instead of debian
This commit is contained in:
parent
6c72c2f17c
commit
7c8fc671f9
|
@ -134,11 +134,10 @@ Here is an example for using setup_cpp to make a builder image that has the cpp
|
||||||
|
|
||||||
```dockerfile
|
```dockerfile
|
||||||
# debian
|
# debian
|
||||||
FROM debian:bullseye
|
FROM buildpack-deps:bullseye
|
||||||
|
|
||||||
# add setup_cpp
|
# add setup_cpp
|
||||||
WORKDIR "/"
|
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 wget "https://github.com/aminya/setup-cpp/releases/download/v0.2/setup_cpp_linux"
|
||||||
RUN chmod +x ./setup_cpp_linux
|
RUN chmod +x ./setup_cpp_linux
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
# debian
|
# debian
|
||||||
FROM debian:bullseye
|
FROM buildpack-deps:bullseye
|
||||||
|
|
||||||
# add setup_cpp
|
# add setup_cpp
|
||||||
WORKDIR "/"
|
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 wget "https://github.com/aminya/setup-cpp/releases/download/v0.2/setup_cpp_linux"
|
||||||
RUN chmod +x ./setup_cpp_linux
|
RUN chmod +x ./setup_cpp_linux
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue