Skip to content

Commit

Permalink
Fix license header and dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Fritz Otlinghaus <[email protected]>
  • Loading branch information
Scriptkiddi committed Dec 11, 2018
1 parent 19d37fb commit 0a93229
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ script:
- mvn -q clean install -P checkstyle
- docker build --build-arg JAR_FILE=./infomodelrepository.jar -f repository/repository-server/Dockerfile -t eclipsevorto/vorto-repo:latest ./repository/repository-server;
- docker build --build-arg JAR_FILE=./generator-runner-exec.jar -f generators/generator-runner/Dockerfile -t eclipsevorto/vorto-generators:latest ./generators/generator-runner;
- if [ -n "$TRAVIS_TAG" ];
docker build --build-arg JAR_FILE=./infomodelrepository.jar -f repository/repository-server/Dockerfile -t eclipsevorto/vorto-repo:$TRAVIS_TAG ./repository/repository-server;
docker build --build-arg JAR_FILE=./generator-runner-exec.jar -f generators/generator-runner/Dockerfile -t eclipsevorto/vorto-generators:$TRAVIS_TAG ./generators/generator-runner;
fi

deploy:
provider: script
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Copyright (c) 2018 Contributors to the Eclipse Foundation
* <p>
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
* <p>
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0
* <p>
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.eclipse.vorto.repository.sso;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Copyright (c) 2018 Contributors to the Eclipse Foundation
* <p>
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
* <p>
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0
* <p>
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.eclipse.vorto.repository.web.core;
Expand Down
5 changes: 3 additions & 2 deletions repository/repository-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM java:8
# Add folder to hold jar file
ARG JAR_FILE
RUN mkdir /code
WORKDIR /code
VOLUME /root/.vorto
ARG JAR_FILE
VOLUME /code
VOLUME /root/.vorto
RUN apt-get update && apt-get install -y jq sed
ADD ./target/${JAR_FILE} /code/infomodelrepository.jar
ADD ./docker/run.sh /code
Expand Down

0 comments on commit 0a93229

Please sign in to comment.