Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -2,14 +2,13 @@ FROM vespaengine/vespa:latest
|
|
2 |
|
3 |
USER root
|
4 |
RUN yum install -y python39 python39-pip wget git
|
5 |
-
RUN wget https://dlcdn.apache.org/maven/maven-3/3.9.0/binaries/apache-maven-3.9.0-bin.tar.gz
|
6 |
-
RUN tar xzvf apache-maven-3.9.0-bin.tar.gz
|
7 |
-
COPY ./apache-maven-3.9.0/ /opt/maven/
|
8 |
COPY ./run.sh /opt/vespa/vespa/bin/run.sh
|
9 |
RUN chmod +x /opt/vespa/vespa/bin/run.sh
|
10 |
RUN chown vespa /opt/vespa/vespa/bin/run.sh
|
11 |
RUN mkdir /opt/vespa/.m2/
|
|
|
12 |
RUN chown vespa /opt/vespa/.m2/
|
|
|
13 |
USER vespa
|
14 |
EXPOSE 8080
|
15 |
ENTRYPOINT ["/opt/vespa/vespa/bin/run.sh"]
|
|
|
2 |
|
3 |
USER root
|
4 |
RUN yum install -y python39 python39-pip wget git
|
|
|
|
|
|
|
5 |
COPY ./run.sh /opt/vespa/vespa/bin/run.sh
|
6 |
RUN chmod +x /opt/vespa/vespa/bin/run.sh
|
7 |
RUN chown vespa /opt/vespa/vespa/bin/run.sh
|
8 |
RUN mkdir /opt/vespa/.m2/
|
9 |
+
RUN mkdir /opt/maven
|
10 |
RUN chown vespa /opt/vespa/.m2/
|
11 |
+
RUN chown vespa /opt/maven
|
12 |
USER vespa
|
13 |
EXPOSE 8080
|
14 |
ENTRYPOINT ["/opt/vespa/vespa/bin/run.sh"]
|