-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache Storm 1.1.1 #3306
Apache Storm 1.1.1 #3306
Conversation
So, this discussion has a bit of history. When we first started doing To combat that in the simplest way possible, we switched to If you'd like to embed a somewhat more-permanent solution in your |
Diff:diff --git a/_bashbrew-list b/_bashbrew-list
index f10bc22..8d19dbe 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -5,5 +5,5 @@ storm:0.10.2
storm:1.0
storm:1.0.3
storm:1.1
-storm:1.1.0
+storm:1.1.1
storm:latest
diff --git a/storm_0.10/Dockerfile b/storm_0.10/Dockerfile
index c851d57..642b3c7 100644
--- a/storm_0.10/Dockerfile
+++ b/storm_0.10/Dockerfile
@@ -1,5 +1,4 @@
FROM openjdk:8-jre-alpine
-MAINTAINER Elisey Zanko <[email protected]>
# Install required packages
RUN apk add --no-cache \
@@ -7,10 +6,10 @@ RUN apk add --no-cache \
python \
su-exec
-ENV STORM_USER=storm
-ENV STORM_CONF_DIR=/conf
-ENV STORM_DATA_DIR=/data
-ENV STORM_LOG_DIR=/logs
+ENV STORM_USER=storm \
+ STORM_CONF_DIR=/conf \
+ STORM_DATA_DIR=/data \
+ STORM_LOG_DIR=/logs
# Add a user and make dirs
RUN set -x \
@@ -32,7 +31,7 @@ RUN set -x \
&& gpg --batch --verify "$DISTRO_NAME.tar.gz.asc" "$DISTRO_NAME.tar.gz" \
&& tar -xzf "$DISTRO_NAME.tar.gz" \
&& chown -R "$STORM_USER:$STORM_USER" "$DISTRO_NAME" \
- && rm -r "$GNUPGHOME" "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc" \
+ && rm -rf "$GNUPGHOME" "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc" \
&& apk del .build-deps
WORKDIR $DISTRO_NAME
diff --git a/storm_0.9/Dockerfile b/storm_0.9/Dockerfile
index 5830aee..37d0e8f 100644
--- a/storm_0.9/Dockerfile
+++ b/storm_0.9/Dockerfile
@@ -1,5 +1,4 @@
FROM openjdk:8-jre-alpine
-MAINTAINER Elisey Zanko <[email protected]>
# Install required packages
RUN apk add --no-cache \
@@ -7,10 +6,10 @@ RUN apk add --no-cache \
python \
su-exec
-ENV STORM_USER=storm
-ENV STORM_CONF_DIR=/conf
-ENV STORM_DATA_DIR=/data
-ENV STORM_LOG_DIR=/logs
+ENV STORM_USER=storm \
+ STORM_CONF_DIR=/conf \
+ STORM_DATA_DIR=/data \
+ STORM_LOG_DIR=/logs
# Add a user and make dirs
RUN set -x \
@@ -32,7 +31,7 @@ RUN set -x \
&& gpg --batch --verify "$DISTRO_NAME.tar.gz.asc" "$DISTRO_NAME.tar.gz" \
&& tar -xzf "$DISTRO_NAME.tar.gz" \
&& chown -R "$STORM_USER:$STORM_USER" "$DISTRO_NAME" \
- && rm -r "$GNUPGHOME" "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc" \
+ && rm -rf "$GNUPGHOME" "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc" \
&& apk del .build-deps
WORKDIR $DISTRO_NAME
diff --git a/storm_1.0/Dockerfile b/storm_1.0/Dockerfile
index 339c6bf..086ca61 100644
--- a/storm_1.0/Dockerfile
+++ b/storm_1.0/Dockerfile
@@ -31,7 +31,7 @@ RUN set -x \
&& gpg --batch --verify "$DISTRO_NAME.tar.gz.asc" "$DISTRO_NAME.tar.gz" \
&& tar -xzf "$DISTRO_NAME.tar.gz" \
&& chown -R "$STORM_USER:$STORM_USER" "$DISTRO_NAME" \
- && rm -r "$GNUPGHOME" "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc" \
+ && rm -rf "$GNUPGHOME" "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc" \
&& apk del .build-deps
WORKDIR $DISTRO_NAME
diff --git a/storm_latest/Dockerfile b/storm_latest/Dockerfile
index c7b3aa6..2fff65d 100644
--- a/storm_latest/Dockerfile
+++ b/storm_latest/Dockerfile
@@ -18,7 +18,7 @@ RUN set -x \
&& chown -R "$STORM_USER:$STORM_USER" "$STORM_CONF_DIR" "$STORM_DATA_DIR" "$STORM_LOG_DIR"
ARG GPG_KEY=ACEFE18DD2322E1E84587A148DE03962E80B8FFD
-ARG DISTRO_NAME=apache-storm-1.1.0
+ARG DISTRO_NAME=apache-storm-1.1.1
# Download Apache Storm, verify its PGP signature, untar and clean up
RUN set -x \
@@ -31,7 +31,7 @@ RUN set -x \
&& gpg --batch --verify "$DISTRO_NAME.tar.gz.asc" "$DISTRO_NAME.tar.gz" \
&& tar -xzf "$DISTRO_NAME.tar.gz" \
&& chown -R "$STORM_USER:$STORM_USER" "$DISTRO_NAME" \
- && rm -r "$GNUPGHOME" "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc" \
+ && rm -rf "$GNUPGHOME" "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc" \
&& apk del .build-deps
WORKDIR $DISTRO_NAME |
LGTM Build test of #3306; cd3e64a ( $ bashbrew build storm:0.9.7
Building bashbrew/cache:8bfd33321df436f02ed9de297be103e34731a6d12fb32c93c7df6ecd6f3557fd (storm:0.9.7)
Tagging storm:0.9.7
Tagging storm:0.9
$ test/run.sh storm:0.9.7
testing storm:0.9.7
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build storm:0.10.2
Building bashbrew/cache:5bcf98170db33d2562525125847d29c51842cdac3608c780c151db7a79b071e6 (storm:0.10.2)
Tagging storm:0.10.2
Tagging storm:0.10
$ test/run.sh storm:0.10.2
testing storm:0.10.2
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build storm:1.0.3
Building bashbrew/cache:ceb90ab8a57460567bda4429ccca8bbc0dd54f8f7a152a4dc7d18ee1056ea8a7 (storm:1.0.3)
Tagging storm:1.0.3
Tagging storm:1.0
$ test/run.sh storm:1.0.3
testing storm:1.0.3
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build storm:1.1.1
Building bashbrew/cache:a46c5d8bd4032d5e05f804d3a47bf038fe9659eed2d51270f3e97421fffc0d41 (storm:1.1.1)
Tagging storm:1.1.1
Tagging storm:1.1
Tagging storm:latest
$ test/run.sh storm:1.1.1
testing storm:1.1.1
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
|
Thanks for the explanation @tianon! ❤️ |
For some reason I cannot build localy with the following error
gpg: keyserver receive failed: Address not available
I've tried to replace
ha.pool.sks-keyservers.net
withipv4.pool.sks-keyservers.net
and it worked. Is this the right thing to do?