This is an automated email from the ASF dual-hosted git repository. elek pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ozone-docker-builder.git
commit 5048fe9e2657b60e59efe1a27faa4be2c6f514c0 Author: Doroszlai, Attila <[email protected]> AuthorDate: Fri Jan 10 20:17:42 2020 +0100 HDDS-2859. Hugo error should be propagated to build Closes #10 --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9349d1d..f8e221d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -82,6 +82,8 @@ RUN curl -sL https://github.com/muquit/mailsend-go/releases/download/v1.0.5/mail RUN curl -L https://github.com/elek/flekszible/releases/download/v1.5.2/flekszible_1.5.2_Linux_x86_64.tar.gz | tar zx && mv flekszible /usr/local/bin && chmod +x /usr/local/bin/flekszible +RUN curl -LSs https://github.com/gohugoio/hugo/releases/download/v0.62.2/hugo_0.62.2_Linux-64bit.tar.gz | tar zxf - hugo && mv hugo /usr/local/bin/ && chmod +x /usr/local/bin/hugo + USER jenkins1000 #This is a very huge local maven cache. Usually the mvn repository is not safe to be @@ -93,9 +95,9 @@ USER jenkins1000 #To be sure that we have no dev bits from this build, we will remove org.apache.hadoop files #from the local maven repository. -RUN cd /tmp && git clone --depth=1 https://github.com/apache/hadoop.git -b trunk && \ - cd /tmp/hadoop && mvn -B package dependency:go-offline -DskipTests=true -f pom.ozone.xml && \ +RUN cd /tmp && git clone --depth=1 https://github.com/apache/hadoop-ozone.git -b master && \ + cd /tmp/hadoop-ozone && mvn -B package dependency:go-offline -DskipTests=true && \ rm -rf /home/user/.m2/repository/org/apache/hadoop/*hdds* && \ rm -rf /home/user/.m2/repository/org/apache/hadoop/*ozone* && \ - rm -rf /tmp/hadoop && \ + rm -rf /tmp/hadoop-ozone && \ find /home/user/.m2/repository -exec chmod go+wx {} \; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
