Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
# Base image
|
2 |
FROM docker.elastic.co/elasticsearch/elasticsearch:8.6.2
|
3 |
|
|
|
|
|
|
|
|
|
4 |
# Install Python and dependencies
|
5 |
RUN apt-get update && apt-get install -y python3 python3-pip
|
6 |
|
|
|
1 |
# Base image
|
2 |
FROM docker.elastic.co/elasticsearch/elasticsearch:8.6.2
|
3 |
|
4 |
+
|
5 |
+
# Change owner and permissions of /etc/apt
|
6 |
+
RUN chown root:root /etc/apt && chmod 644 /etc/apt/sources.list
|
7 |
+
|
8 |
# Install Python and dependencies
|
9 |
RUN apt-get update && apt-get install -y python3 python3-pip
|
10 |
|