sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject [sling-org-apache-sling-starter-docker] branch master updated: Reminder to keep sha1sum file in sync
Date Thu, 12 Apr 2018 11:25:57 GMT
This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c9766d  Reminder to keep sha1sum file in sync
1c9766d is described below

commit 1c9766d473072a4ec278f73d714b28f6d3aff39d
Author: Bertrand Delacretaz <bdelacretaz@apache.org>
AuthorDate: Thu Apr 12 13:25:42 2018 +0200

    Reminder to keep sha1sum file in sync
---
 Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index f723fc0..320d6f3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,8 +4,12 @@ MAINTAINER dev@sling.apache.org
 # build on top of the released Launchpad
 RUN mkdir -p /opt/sling
 RUN wget https://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.starter/10/org.apache.sling.starter-10.jar
-O /opt/sling/org.apache.sling.starter.jar
+
+# sha1sum.txt must be updated when switching to a different jar,
+# or docker build will fail
 COPY sha1sum.txt /tmp
 RUN sha1sum -c /tmp/sha1sum.txt
+
 WORKDIR /opt/sling/
 EXPOSE 8080
 VOLUME /opt/sling/sling

-- 
To stop receiving notification emails like this one, please contact
bdelacretaz@apache.org.

Mime
View raw message