This repository has been archived by the owner on Aug 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
189 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of the collector to download. | ||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.11.1" | ||
|
||
# The name of the archive to download. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of the collector to download. | ||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.12.0" | ||
|
||
# The name of the archive to download. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of the collector to download. | ||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.13.0" | ||
|
||
# The name of the archive to download. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of the collector to download. | ||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.14.0" | ||
|
||
# The name of the archive to download. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of the collector to download. | ||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.15.0" | ||
|
||
# The targeted platform | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of the collector to download. | ||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.15.0" | ||
|
||
# The targeted platform | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of the collector to download. | ||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.15.0" | ||
|
||
# The targeted platform | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of the collector to download. | ||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.15.0" | ||
|
||
# The targeted platform | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of the collector to download. | ||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.16.0" | ||
|
||
# The targeted platform | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of the collector to download. | ||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.16.0" | ||
|
||
# The targeted platform | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of the collector to download. | ||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.16.0" | ||
|
||
# The targeted platform | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of the collector to download. | ||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.16.0" | ||
|
||
# The targeted platform | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.16.1" | ||
|
||
# The targeted platform | ||
ENV PLATFORM="google_pubsub" | ||
|
||
# The name of the archive to download. | ||
ENV ARCHIVE="snowplow_stream_enrich_${PLATFORM}_${ENRICH_VERSION}.zip" | ||
|
||
# Install the Scala Stream Collector. | ||
RUN mkdir -p /tmp/build && \ | ||
cd /tmp/build && \ | ||
wget -q http://dl.bintray.com/snowplow/snowplow-generic/${ARCHIVE} && \ | ||
unzip -d ${SNOWPLOW_BIN_PATH} ${ARCHIVE} && \ | ||
cd /tmp && \ | ||
rm -rf /tmp/build | ||
|
||
# Defines an entrypoint script delegating the lauching of stream enrich to the snowplow user. | ||
# The script uses dumb-init as the top-level process. | ||
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh | ||
ENTRYPOINT [ "docker-entrypoint.sh" ] | ||
|
||
CMD [ "--help" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/dumb-init /bin/sh | ||
set -e | ||
|
||
# If the config directory has been mounted through -v, we chown it. | ||
if [ "$(stat -c %u ${SNOWPLOW_CONFIG_PATH})" != "$(id -u snowplow)" ]; then | ||
chown snowplow:snowplow ${SNOWPLOW_CONFIG_PATH} | ||
fi | ||
|
||
# Needed because of SCE's ./ip_geo file | ||
cd $(eval echo ~snowplow) | ||
|
||
# Make sure we run the collector as the snowplow user | ||
exec su-exec snowplow:snowplow /usr/bin/java \ | ||
$SP_JAVA_OPTS -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap \ | ||
-jar ${SNOWPLOW_BIN_PATH}/snowplow-stream-enrich-${PLATFORM//_/-}-${ENRICH_VERSION}.jar "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.16.1" | ||
|
||
# The targeted platform | ||
ENV PLATFORM="kafka" | ||
|
||
# The name of the archive to download. | ||
ENV ARCHIVE="snowplow_stream_enrich_${PLATFORM}_${ENRICH_VERSION}.zip" | ||
|
||
# Install the Scala Stream Collector. | ||
RUN mkdir -p /tmp/build && \ | ||
cd /tmp/build && \ | ||
wget -q http://dl.bintray.com/snowplow/snowplow-generic/${ARCHIVE} && \ | ||
unzip -d ${SNOWPLOW_BIN_PATH} ${ARCHIVE} && \ | ||
cd /tmp && \ | ||
rm -rf /tmp/build | ||
|
||
# Defines an entrypoint script delegating the lauching of stream enrich to the snowplow user. | ||
# The script uses dumb-init as the top-level process. | ||
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh | ||
ENTRYPOINT [ "docker-entrypoint.sh" ] | ||
|
||
CMD [ "--help" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/dumb-init /bin/sh | ||
set -e | ||
|
||
# If the config directory has been mounted through -v, we chown it. | ||
if [ "$(stat -c %u ${SNOWPLOW_CONFIG_PATH})" != "$(id -u snowplow)" ]; then | ||
chown snowplow:snowplow ${SNOWPLOW_CONFIG_PATH} | ||
fi | ||
|
||
# Needed because of SCE's ./ip_geo file | ||
cd $(eval echo ~snowplow) | ||
|
||
# Make sure we run the collector as the snowplow user | ||
exec su-exec snowplow:snowplow /usr/bin/java \ | ||
$SP_JAVA_OPTS -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap \ | ||
-jar ${SNOWPLOW_BIN_PATH}/snowplow-stream-enrich-${PLATFORM}-${ENRICH_VERSION}.jar "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.16.1" | ||
|
||
# The targeted platform | ||
ENV PLATFORM="kinesis" | ||
|
||
# The name of the archive to download. | ||
ENV ARCHIVE="snowplow_stream_enrich_${PLATFORM}_${ENRICH_VERSION}.zip" | ||
|
||
# Install the Scala Stream Collector. | ||
RUN mkdir -p /tmp/build && \ | ||
cd /tmp/build && \ | ||
wget -q http://dl.bintray.com/snowplow/snowplow-generic/${ARCHIVE} && \ | ||
unzip -d ${SNOWPLOW_BIN_PATH} ${ARCHIVE} && \ | ||
cd /tmp && \ | ||
rm -rf /tmp/build | ||
|
||
# Defines an entrypoint script delegating the lauching of stream enrich to the snowplow user. | ||
# The script uses dumb-init as the top-level process. | ||
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh | ||
ENTRYPOINT [ "docker-entrypoint.sh" ] | ||
|
||
CMD [ "--help" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/dumb-init /bin/sh | ||
set -e | ||
|
||
# If the config directory has been mounted through -v, we chown it. | ||
if [ "$(stat -c %u ${SNOWPLOW_CONFIG_PATH})" != "$(id -u snowplow)" ]; then | ||
chown snowplow:snowplow ${SNOWPLOW_CONFIG_PATH} | ||
fi | ||
|
||
# Needed because of SCE's ./ip_geo file | ||
cd $(eval echo ~snowplow) | ||
|
||
# Make sure we run the collector as the snowplow user | ||
exec su-exec snowplow:snowplow /usr/bin/java \ | ||
$SP_JAVA_OPTS -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap \ | ||
-jar ${SNOWPLOW_BIN_PATH}/snowplow-stream-enrich-${PLATFORM}-${ENRICH_VERSION}.jar "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM snowplow-docker-registry.bintray.io/snowplow/base:0.1.0 | ||
LABEL maintainer="Snowplow Analytics Ltd. <[email protected]>" | ||
|
||
# The version of stream enrich to download. | ||
ENV ENRICH_VERSION="0.16.1" | ||
|
||
# The targeted platform | ||
ENV PLATFORM="nsq" | ||
|
||
# The name of the archive to download. | ||
ENV ARCHIVE="snowplow_stream_enrich_${PLATFORM}_${ENRICH_VERSION}.zip" | ||
|
||
# Install the Scala Stream Collector. | ||
RUN mkdir -p /tmp/build && \ | ||
cd /tmp/build && \ | ||
wget -q http://dl.bintray.com/snowplow/snowplow-generic/${ARCHIVE} && \ | ||
unzip -d ${SNOWPLOW_BIN_PATH} ${ARCHIVE} && \ | ||
cd /tmp && \ | ||
rm -rf /tmp/build | ||
|
||
# Defines an entrypoint script delegating the lauching of stream enrich to the snowplow user. | ||
# The script uses dumb-init as the top-level process. | ||
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh | ||
ENTRYPOINT [ "docker-entrypoint.sh" ] | ||
|
||
CMD [ "--help" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/dumb-init /bin/sh | ||
set -e | ||
|
||
# If the config directory has been mounted through -v, we chown it. | ||
if [ "$(stat -c %u ${SNOWPLOW_CONFIG_PATH})" != "$(id -u snowplow)" ]; then | ||
chown snowplow:snowplow ${SNOWPLOW_CONFIG_PATH} | ||
fi | ||
|
||
# Needed because of SCE's ./ip_geo file | ||
cd $(eval echo ~snowplow) | ||
|
||
# Make sure we run the collector as the snowplow user | ||
exec su-exec snowplow:snowplow /usr/bin/java \ | ||
$SP_JAVA_OPTS -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap \ | ||
-jar ${SNOWPLOW_BIN_PATH}/snowplow-stream-enrich-${PLATFORM}-${ENRICH_VERSION}.jar "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters