Skip to content

Commit e6d47a6

Browse files
committed
Bunch of updates
1 parent f3bf8fe commit e6d47a6

File tree

24 files changed

+130
-24
lines changed

24 files changed

+130
-24
lines changed

circleci-node-openjdk/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM circleci/node:11.14.0-stretch
2+
3+
RUN \
4+
sudo apt-get update && \
5+
sudo apt-get install openjdk-8-jre && \
6+
sudo rm -rf /var/lib/apt/lists/*

circleci-node-openjdk/version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
11.14.0

circleci-sbt/Dockerfile

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
1-
FROM openjdk:11.0.1-jre-slim
2-
3-
RUN \
4-
apt-get update -y && \
5-
apt-get install -y git python curl unzip && apt-get clean
6-
7-
RUN \
8-
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" && \
9-
unzip awscli-bundle.zip && \
10-
./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws && \
11-
rm -Rf awscli-bundle.zip awscli-bundle && \
12-
aws --version
1+
FROM circleci/openjdk:8u212-jdk-stretch
132

143
ENV PATH="$PATH:/sbt/bin"
154
ENV SBT_VERSION="1.2.8"
165

176
RUN \
18-
curl -Lo /usr/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 && \
19-
chmod +x /usr/bin/jq
20-
21-
RUN \
22-
mkdir /sbt && cd /sbt && \
7+
sudo mkdir /sbt && \
8+
sudo chown circleci:circleci /sbt && \
9+
cd /sbt && \
2310
curl -Lo sbt.zip https://github.com/sbt/sbt/releases/download/v${SBT_VERSION}/sbt-${SBT_VERSION}.zip && \
2411
unzip sbt.zip && rm -Rf sbt.zip && rm -Rf sbt/lib && mv /sbt/sbt/* /sbt/ && rm -Rf sbt && \
2512
chmod a+x /sbt/bin/sbt && \

circleci-sbt/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.8
1+
8u212-1.2.8

cli

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,19 @@ set -euo pipefail
1313

1414
reconcile_tool() {
1515
NAME=${1:?"Tool name is required"}
16+
FORCE=${2:-""}
1617
echo "Reconciling ${NAME}..."
1718
CURRENT_VERSION=$(docker-registry-semver-bump -image shopstic/${NAME} -version current)
1819
NEW_VERSION=$(cat ./${NAME}/version)
1920

20-
if [[ "${CURRENT_VERSION}" == "${NEW_VERSION}" ]]; then
21+
if [[ "${CURRENT_VERSION}" == "${NEW_VERSION}" && "${FORCE}" != "force" ]]; then
2122
echo "No need to update ${NAME}"
2223
exit 0
2324
fi
2425

2526
echo "Updating ${NAME} from ${CURRENT_VERSION} to ${NEW_VERSION}"
2627
cd "./${NAME}"
27-
docker build --build-arg "SHOPSTIC_GITHUB_TOKEN=${SHOPSTIC_GITHUB_TOKEN}" -t "shopstic/${NAME}:${NEW_VERSION}" .
28+
docker build --build-arg "SHOPSTIC_GITHUB_TOKEN=${SHOPSTIC_GITHUB_TOKEN}" --build-arg "PACKAGE_VERSION=${NEW_VERSION}" -t "shopstic/${NAME}:${NEW_VERSION}" .
2829
docker push "shopstic/${NAME}:${NEW_VERSION}"
2930
}
3031

dcos-kafka/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM confluentinc/cp-kafka:5.1.2
2+
3+
ADD ./entrypoint.sh /entrypoint.sh
4+
5+
ENTRYPOINT ["/entrypoint.sh"]

dcos-kafka/entrypoint.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
3+
set -euo pipefail
4+
5+
PORT_BROKER=${PORT_BROKER:?"PORT_BROKER is missing"}
6+
KAFKA_ADVERTISED_LISTENERS="PLAINTEXT://${HOST}:${PORT_BROKER}"
7+
KAFKA_JVM_PERFORMANCE_OPTS=${KAFKA_JVM_PERFORMANCE_OPTS}
8+
KAFKA_JVM_PERFORMANCE_OPTS="${KAFKA_JVM_PERFORMANCE_OPTS} -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=$PORT_JMX -Dcom.sun.management.jmxremote.rmi.port=$PORT_JMX -Dcom.sun.management.jmxremote.host=0.0.0.0 -Djava.rmi.server.hostname=$HOST -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"
9+
echo "KAFKA_JVM_PERFORMANCE_OPTS=${KAFKA_JVM_PERFORMANCE_OPTS}"
10+
11+
exec /etc/confluent/docker/run

dcos-kafka/version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5.1.3

envoy-lb/Dockerfile

Whitespace-only changes.

httpie/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM alpine:latest
2+
3+
RUN apk add --no-cache jq httpie
4+
5+
ENTRYPOINT [ "http" ]
6+
CMD [ "--help" ]

0 commit comments

Comments
 (0)