Add Vulnerable Docker Env
This commit is contained in:
17
CVE-2024-9264/Dockerfile
Normal file
17
CVE-2024-9264/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
FROM grafana/grafana:11.0.0-ubuntu
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
ca-certificates curl unzip \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN curl -L -o /tmp/duckdb.zip \
|
||||||
|
https://github.com/duckdb/duckdb/releases/download/v1.0.0/duckdb_cli-linux-amd64.zip \
|
||||||
|
&& unzip /tmp/duckdb.zip -d /usr/local/bin \
|
||||||
|
&& chmod +x /usr/local/bin/duckdb \
|
||||||
|
&& rm -f /tmp/duckdb.zip
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
|
ENTRYPOINT ["/run.sh"]
|
||||||
Reference in New Issue
Block a user