bergum commited on
Commit
b79fa29
1 Parent(s): a9e50d2

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 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"]