Skip to content
Permalink
Browse files
FINCN-149 update Dockerfile to download build from Artifactory, fix r…
…at errors
  • Loading branch information
Juhan Aasaru authored and Juhan Aasaru committed Apr 25, 2019
1 parent 54cea14 commit 5dd11ce45009f9bfcc47d72e5bbf1edbafc1da99
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
@@ -1,3 +1,21 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
FROM openjdk:8-jdk-alpine

ARG identity_port=2021
@@ -7,6 +25,6 @@ ENV server.max-http-header-size=16384 \
server.port=$identity_port

WORKDIR /tmp
COPY identity-service-boot-0.1.0-BUILD-SNAPSHOT.jar .
RUN wget -O identity-service-boot-0.1.0-BUILD-SNAPSHOT.jar https://mifos.jfrog.io/mifos/libs-snapshot/org/apache/fineract/cn/identity/service-boot/0.1.0-BUILD-SNAPSHOT/service-boot-0.1.0-BUILD-SNAPSHOT.jar

CMD ["java", "-jar", "identity-service-boot-0.1.0-BUILD-SNAPSHOT.jar"]
@@ -114,6 +114,7 @@ task ci(dependsOn: ['clean', 'test', 'publish'])
rat {
// List of exclude directives, defaults to ['**/.gradle/**']
excludes = [
"**/.dockerignore/**",
"**/.idea/**",
"**/.gradle/**",
"**/gradle/**",

0 comments on commit 5dd11ce

Please sign in to comment.