Skip to content

Commit

Permalink
Merge pull request #14 from pcnfernando/master
Browse files Browse the repository at this point in the history
Bump base alpine version and distribution version
  • Loading branch information
mohanvive authored Aug 7, 2019
2 parents 2b09c1b + dee4c09 commit a1012e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions docker-files/siddhi-runner/alpine/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# ------------------------------------------------------------------------

# set base Docker image to AdoptOpenJDK Alpine Docker image
FROM adoptopenjdk/openjdk8:jdk8u192-b12-alpine
FROM adoptopenjdk/openjdk8:jdk8u212-b03-alpine
MAINTAINER Siddhi IO Docker Maintainers "siddhi-dev@googlegroups.com"

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


# install required packages
RUN apk add --update --no-cache netcat-openbsd && \
rm -rf /var/cache/apk/*

# create a user group and a user
RUN addgroup -g ${USER_GROUP_ID} ${USER_GROUP}; \
adduser -u ${USER_ID} -D -g '' -h ${USER_HOME} -G ${USER_GROUP} ${USER} ;

# install required packages
RUN \
apk add --no-cache \
bash \
netcat-openbsd \
zip

## install the Siddhi Distribution to user's home directory

# download Siddhi Runner Distribution
Expand Down
Empty file.

0 comments on commit a1012e1

Please sign in to comment.