Skip to content

Commit

Permalink
#3: Dockerfile moved to deploy dir. Newer version of Felix used.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cajova-Houba committed Dec 18, 2018
1 parent 1885188 commit fb83cf6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile → deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ WORKDIR /felix

# Download and upack Felix
# 4.6.1 is compatible with Java 1.7
ADD https://archive.apache.org/dist/felix/org.apache.felix.main.distribution-4.6.1.tar.gz ./apache-felix.tar.gz
ADD https://archive.apache.org/dist/felix/org.apache.felix.main.distribution-5.0.0.tar.gz ./apache-felix.tar.gz
RUN tar xvfz apache-felix.tar.gz && rm apache-felix.tar.gz
ENV FELIX_PATH /felix/felix-framework-4.6.1
ENV FELIX_PATH /felix/felix-framework-5.0.0

# Add CRCE modules to Felix autodeploy dir
ADD ./deploy/runner/bundles/* ${FELIX_PATH}/bundle/
ADD ./runner/bundles/* ${FELIX_PATH}/bundle/

# Run Felix
CMD cd ${FELIX_PATH} && java -jar ./bin/felix.jar
CMD cd ${FELIX_PATH} && java -Dgosh.args=--noi -jar ./bin/felix.jar

0 comments on commit fb83cf6

Please sign in to comment.