This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-runtime-ballerina.git
The following commit(s) were added to refs/heads/master by this push:
new 916fa9a Remove gradle artifacts to lean image. (#11)
916fa9a is described below
commit 916fa9abb55500bb5422a5f81b4be248ee6e368c
Author: rodric rabbah <rodric@gmail.com>
AuthorDate: Sat Jan 26 12:45:04 2019 -0500
Remove gradle artifacts to lean image. (#11)
---
ballerina/Dockerfile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ballerina/Dockerfile b/ballerina/Dockerfile
index 66ccec4..2937dfa 100644
--- a/ballerina/Dockerfile
+++ b/ballerina/Dockerfile
@@ -30,10 +30,9 @@ ENV LANG="en_US.UTF-8" \
BUILD=12
ADD proxy /home/ballerina
-
RUN cd /home/ballerina \
&& ./gradlew shadowJar \
- && rm -rf /home/ballerina/src
+ && rm -rf /home/ballerina/.gradle /home/ballerina/src /home/ballerina/gradle*
/home/ballerina/build.gradle /root/.gradle
EXPOSE 8080
|