-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from BuddhiWathsala/master
Add minimal OS base images and remove zip file from images
- Loading branch information
Showing
3 changed files
with
9 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
# ------------------------------------------------------------------------ | ||
|
||
# set base Docker image to AdoptOpenJDK Alpine Docker image | ||
FROM adoptopenjdk/openjdk8:jdk8u212-b03-alpine | ||
FROM adoptopenjdk/openjdk8:jdk8u212-b03-alpine-slim | ||
MAINTAINER Siddhi IO Docker Maintainers "[email protected]" | ||
|
||
# set user configurations | ||
|
@@ -61,8 +61,8 @@ COPY --chown=siddhi_user:siddhi_io ${FILES}/${PACK}/ ${USER_HOME}/ | |
RUN if [ ! -e ${USER_HOME}/${RUNTIME_SERVER}*.zip ] ; then wget --no-check-certificate -O ${USER_HOME}/${RUNTIME_SERVER_PACK}.zip "https://github.com/siddhi-io/distribution/releases/download/v${RUNTIME_SERVER_VERSION}/${RUNTIME_SERVER_PACK}.zip" \ | ||
; else echo "Using Local image "; fi | ||
|
||
RUN unzip -d ${USER_HOME} ${USER_HOME}/${RUNTIME_SERVER}*.zip && for file in ${USER_HOME}/${RUNTIME_SERVER}*; do mv $file ${USER_HOME}/${RUNTIME_SERVER}; done \ | ||
&& chown ${USER}:${USER_GROUP} -R ${RUNTIME_SERVER_HOME} && rm -f {USER_HOME}/${RUNTIME_SERVER_PACK}.zip | ||
RUN unzip -d ${USER_HOME} ${USER_HOME}/${RUNTIME_SERVER}*.zip && rm -f ${USER_HOME}/${RUNTIME_SERVER}*.zip && for file in ${USER_HOME}/${RUNTIME_SERVER}*; do mv $file ${USER_HOME}/${RUNTIME_SERVER}; done \ | ||
&& chown ${USER}:${USER_GROUP} -R ${RUNTIME_SERVER_HOME} | ||
|
||
# set the user and work directory | ||
USER ${USER_ID} | ||
|
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
# ------------------------------------------------------------------------ | ||
|
||
# set base Docker image to AdoptOpenJDK Ubuntu Docker image | ||
FROM adoptopenjdk/openjdk8:jdk8u192-b12 | ||
FROM adoptopenjdk/openjdk8:jdk8u192-b12-slim | ||
MAINTAINER Siddhi IO Docker Maintainers "[email protected]" | ||
|
||
# set user configurations | ||
|
@@ -66,8 +66,8 @@ COPY --chown=siddhi_user:siddhi_io ${FILES}/${PACK}/ ${USER_HOME}/ | |
RUN if [ ! -e ${USER_HOME}/${RUNTIME_SERVER}*.zip ] ; then wget --no-check-certificate -O ${USER_HOME}/${RUNTIME_SERVER_PACK}.zip "https://github.com/siddhi-io/distribution/releases/download/v${RUNTIME_SERVER_VERSION}/${RUNTIME_SERVER_PACK}.zip" \ | ||
; else echo "Using Local image "; fi | ||
|
||
RUN unzip -d ${USER_HOME} ${USER_HOME}/${RUNTIME_SERVER}*.zip && for file in ${USER_HOME}/${RUNTIME_SERVER}*; do mv $file ${USER_HOME}/${RUNTIME_SERVER}; done \ | ||
&& chown ${USER}:${USER_GROUP} -R ${RUNTIME_SERVER_HOME} && rm -f {USER_HOME}/${RUNTIME_SERVER_PACK}.zip | ||
RUN unzip -d ${USER_HOME} ${USER_HOME}/${RUNTIME_SERVER}*.zip && rm -f ${USER_HOME}/${RUNTIME_SERVER}*.zip && for file in ${USER_HOME}/${RUNTIME_SERVER}*; do mv $file ${USER_HOME}/${RUNTIME_SERVER}; done \ | ||
&& chown ${USER}:${USER_GROUP} -R ${RUNTIME_SERVER_HOME} | ||
|
||
# set the user and work directory | ||
USER ${USER_ID} | ||
|
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
# ------------------------------------------------------------------------ | ||
|
||
# set base Docker image to AdoptOpenJDK Ubuntu Docker image | ||
FROM adoptopenjdk/openjdk8:jdk8u192-b12 | ||
FROM adoptopenjdk/openjdk8:jdk8u192-b12-slim | ||
MAINTAINER Siddhi IO Docker Maintainers "[email protected]" | ||
|
||
# set user configurations | ||
|
@@ -78,8 +78,8 @@ COPY --chown=siddhi_user:siddhi_io ${FILES}/${PACK}/ ${USER_HOME}/ | |
RUN if [ ! -e ${USER_HOME}/${RUNTIME_SERVER}*.zip ] ; then wget --no-check-certificate -O ${USER_HOME}/${RUNTIME_SERVER_PACK}.zip "https://github.com/siddhi-io/distribution/releases/download/v${RUNTIME_SERVER_VERSION}/${RUNTIME_SERVER_PACK}.zip" \ | ||
; else echo "Using Local image "; fi | ||
|
||
RUN unzip -d ${USER_HOME} ${USER_HOME}/${RUNTIME_SERVER}*.zip && for file in ${USER_HOME}/${RUNTIME_SERVER}*; do mv $file ${USER_HOME}/${RUNTIME_SERVER}; done \ | ||
&& chown ${USER}:${USER_GROUP} -R ${RUNTIME_SERVER_HOME} && rm -f {USER_HOME}/${RUNTIME_SERVER_PACK}.zip | ||
RUN unzip -d ${USER_HOME} ${USER_HOME}/${RUNTIME_SERVER}*.zip && rm -f ${USER_HOME}/${RUNTIME_SERVER}*.zip && for file in ${USER_HOME}/${RUNTIME_SERVER}*; do mv $file ${USER_HOME}/${RUNTIME_SERVER}; done \ | ||
&& chown ${USER}:${USER_GROUP} -R ${RUNTIME_SERVER_HOME} | ||
|
||
# set the user and work directory | ||
USER ${USER_ID} | ||
|