Skip to content

Commit a1012e1

Browse files
authored
Merge pull request #14 from pcnfernando/master
Bump base alpine version and distribution version
2 parents 2b09c1b + dee4c09 commit a1012e1

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

docker-files/siddhi-runner/alpine/base/Dockerfile

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# ------------------------------------------------------------------------
1818

1919
# set base Docker image to AdoptOpenJDK Alpine Docker image
20-
FROM adoptopenjdk/openjdk8:jdk8u192-b12-alpine
20+
FROM adoptopenjdk/openjdk8:jdk8u212-b03-alpine
2121
MAINTAINER Siddhi IO Docker Maintainers "[email protected]"
2222

2323
# set user configurations
@@ -30,7 +30,7 @@ ARG USER_HOME=/home/${USER}
3030
ARG FILES=./files
3131
# set siddhi runner configurations
3232
ARG RUNTIME_SERVER=siddhi-runner
33-
ARG RUNTIME_SERVER_VERSION=5.1.0-m1
33+
ARG RUNTIME_SERVER_VERSION=5.1.0-m2
3434
ARG RUNTIME_SERVER_PACK=${RUNTIME_SERVER}-${RUNTIME_SERVER_VERSION}
3535
ARG RUNTIME_SERVER_HOME=${USER_HOME}/${RUNTIME_SERVER}
3636
# set SIDDHI-IO EULA
@@ -41,15 +41,17 @@ This Docker container comprises of a SIDDHI-IO product, running with its latest
4141
which is under the Apache License, Version 2.0. \n\
4242
Read more about Apache License, Version 2.0 here @ http://www.apache.org/licenses/LICENSE-2.0.\n"
4343

44-
45-
# install required packages
46-
RUN apk add --update --no-cache netcat-openbsd && \
47-
rm -rf /var/cache/apk/*
48-
4944
# create a user group and a user
5045
RUN addgroup -g ${USER_GROUP_ID} ${USER_GROUP}; \
5146
adduser -u ${USER_ID} -D -g '' -h ${USER_HOME} -G ${USER_GROUP} ${USER} ;
5247

48+
# install required packages
49+
RUN \
50+
apk add --no-cache \
51+
bash \
52+
netcat-openbsd \
53+
zip
54+
5355
## install the Siddhi Distribution to user's home directory
5456

5557
# download Siddhi Runner Distribution

docker-files/siddhi-runner/alpine/siddhi-runner/files/bundles/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)