Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all the projects to version 10.3.1.1 of Apama Core Community Edition #17

Merged
merged 7 commits into from
Apr 28, 2019
4 changes: 2 additions & 2 deletions apamacore-centos_amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG SAG_HOME=/opt/softwareag
ARG ACCE_VERSION=10.3.0.1
ARG ACCE_VERSION=10.3.1.1
ARG ACCE_LIBRARY_VERSION=10.3

# Docker Mulit-stage build
Expand Down Expand Up @@ -32,7 +32,7 @@ LABEL \
arch="x86-64" \
base="centos:7" \
maintainer="Kev Palfreyman (@kpalf)" \
build-date="20181022" \
build-date="20190428" \
version=${ACCE_VERSION}

# Set the shell and create user identical to the official SAG images
Expand Down
6 changes: 3 additions & 3 deletions apamacore-centos_amd64/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ The image can be found on DockerHub as specific tags on the `kpalf/apamacore` re

Lookup the tags at: https://hub.docker.com/r/kpalf/apamacore/tags/

You will also see tags for Apama Core on Ubuntu 18.10 for amd64, a couple of Windows Server Nano Server base images for amd64 (1809, 1803, and historically 1709), and Raspbian for ARMv7hf so please be careful.
You will also see tags for Apama Core on Ubuntu 19.04 / 18.10 for amd64, a couple of Windows Server Nano Server base images for amd64 (1809, 1803, and historically 1709), and Raspbian for ARMv7hf so please be careful.

For example, for the CentOS (amd64) base initially there will be the following tagged image that you can pull with the following command:
```
docker pull kpalf/apamacore:10.3.0.1_centos_amd64
docker pull kpalf/apamacore:10.3.1.1_centos_amd64
```

## User ID
Expand All @@ -29,7 +29,7 @@ To find out more about Apama, access full documentation, and download the distri


## Base image
The base image is "centos:7", which at the time of writing is CentOS 7.5
The base image is "centos:7", which at the time of writing is CentOS 7.6


## Licenses
Expand Down
4 changes: 2 additions & 2 deletions apamacore-centos_amd64/tag.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
docker tag apamacore:centos_amd64 kpalf/apamacore:10.3.0.1_centos_amd64
# docker tag apamacore:centos_amd64 kpalf/apamacore:10.3.0.1
docker tag apamacore:centos_amd64 kpalf/apamacore:10.3.1.1_centos_amd64
# docker tag apamacore:centos_amd64 kpalf/apamacore:10.3.1.1
docker tag apamacore:centos_amd64 kpalf/apamacore:centos_amd64
# docker tag apamacore:centos_amd64 kpalf/apamacore:latest
2 changes: 1 addition & 1 deletion apamacore-centos_amd64/test-version.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
docker run --rm kpalf/apamacore:10.3.0.1_centos_amd64 correlator --version
docker run --rm kpalf/apamacore:10.3.1.1_centos_amd64 correlator --version
4 changes: 2 additions & 2 deletions apamacore-debian-slim_amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG SAG_HOME=/opt/softwareag
ARG ACCE_VERSION=10.3.0.1
ARG ACCE_VERSION=10.3.1.1
ARG ACCE_LIBRARY_VERSION=10.3

# Docker Mulit-stage build
Expand Down Expand Up @@ -37,7 +37,7 @@ LABEL \
arch="x86-64" \
base="debian:stretch-slim" \
maintainer="Kev Palfreyman (@kpalf)" \
build-date="20181027" \
build-date="20190428" \
version=${ACCE_VERSION}

# Set the shell and create user identical to the official SAG images
Expand Down
4 changes: 2 additions & 2 deletions apamacore-debian-slim_amd64/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You will also see tags for Apama Core on CentOS 7 for amd64, Ubuntu for amd64, a

For example, for the debian-slim (amd64) base initially there will be the following tagged image that you can pull with the following command:
```
docker pull kpalf/apamacore:10.3.0.1_experimental-debian-slim_amd64
docker pull kpalf/apamacore:10.3.1.1_experimental-debian-slim_amd64
```

## User ID
Expand All @@ -31,7 +31,7 @@ To find out more about Apama, access full documentation, and download the distri

## Base image
The base image is "debian:stretch-slim" ("stretch" == 9 == "stable").
At the time of writing (Oct 2018) Stretch-slim was 22MB, which is smaller than Buster-slim at 26MB (buster==testing==9.5)
At the time of writing (Oct 2018, update April 2019) Stretch-slim was 22MB, which is smaller than Buster-slim at 27MB (buster==testing==9.5)



Expand Down
2 changes: 1 addition & 1 deletion apamacore-debian-slim_amd64/tag.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
docker tag apamacore:debian-slim_amd64 kpalf/apamacore:10.3.0.1_experimental-debian-slim_amd64
docker tag apamacore:debian-slim_amd64 kpalf/apamacore:10.3.1.1_experimental-debian-slim_amd64
docker tag apamacore:debian-slim_amd64 kpalf/apamacore:experimental-debian-slim_amd64
2 changes: 1 addition & 1 deletion apamacore-debian-slim_amd64/test-version.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
docker run --rm kpalf/apamacore:10.3.0.1_experimental-debian-slim_amd64 correlator --version
docker run --rm kpalf/apamacore:10.3.1.1_experimental-debian-slim_amd64 correlator --version
6 changes: 3 additions & 3 deletions apamacore-min_debian-slim_amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG SAG_HOME=/opt/softwareag
ARG ACCE_VERSION=10.3.0.1
ARG ACCE_VERSION=10.3.1.1
ARG ACCE_LIBRARY_VERSION=10.3

# Docker Mulit-stage build
Expand All @@ -12,7 +12,7 @@ ARG ACCE_VERSION

# Start REMOVING unnecessary files from the interim builder image
RUN rm -r ${SAG_HOME}/Release_Notes.pdf && \
rm -r ${SAG_HOME}/3rdPartyLicenses.pdf && \
rm -r ${SAG_HOME}/3rdPartyLicenses_PAK_ApamaCoreEdition.pdf && \
rm -r ${SAG_HOME}/common/lib && \
rm -r ${APAMA_HOME}/monitors/R && \
rm -r ${APAMA_HOME}/lib/rpath && \
Expand Down Expand Up @@ -56,7 +56,7 @@ LABEL \
arch="x86-64" \
base="debian:stretch-slim" \
maintainer="Kev Palfreyman (@kpalf)" \
build-date="20181028" \
build-date="20190428" \
version=${ACCE_VERSION}

# Set the shell and create user identical to the official SAG images
Expand Down
4 changes: 2 additions & 2 deletions apamacore-min_debian-slim_amd64/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ You will also see tags for Apama Core on CentOS 7 for amd64, Ubuntu for amd64, a

For example, for the debian-slim (amd64) base initially there will be the following tagged image that you can pull with the following command:
```
docker pull kpalf/apamacore-min:10.3.0.1_experimental-debian-slim_amd64
docker pull kpalf/apamacore-min:10.3.1.1_experimental-debian-slim_amd64
```

## User ID
Expand All @@ -33,7 +33,7 @@ To find out more about Apama, access full documentation, and download the distri

## Base image
The base image is "debian:stretch-slim" ("stretch" == 9 == "stable").
At the time of writing (Oct 2018) Stretch-slim was 22MB, which is smaller than Buster-slim at 26MB (buster==testing==9.5)
At the time of writing (Oct 2018, update April 2019) Stretch-slim was 22MB, which is smaller than Buster-slim at 27MB (buster==testing==9.5)



Expand Down
2 changes: 1 addition & 1 deletion apamacore-min_debian-slim_amd64/tag.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
docker tag apamacore-min:debian-slim_amd64 kpalf/apamacore-min:10.3.0.1_experimental-debian-slim_amd64
docker tag apamacore-min:debian-slim_amd64 kpalf/apamacore-min:10.3.1.1_experimental-debian-slim_amd64
docker tag apamacore-min:debian-slim_amd64 kpalf/apamacore-min:experimental-debian-slim_amd64
2 changes: 1 addition & 1 deletion apamacore-min_debian-slim_amd64/test-version.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
docker run --rm kpalf/apamacore-min:10.3.0.1_experimental-debian-slim_amd64 correlator --version
docker run --rm kpalf/apamacore-min:10.3.1.1_experimental-debian-slim_amd64 correlator --version
4 changes: 2 additions & 2 deletions apamacore-nanoserver_amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# https://hub.docker.com/r/microsoft/nanoserver/

ARG SAG_HOME=C:\\SoftwareAG
ARG ACCE_VERSION=10.3.0.1
ARG ACCE_VERSION=10.3.1.1
ARG ACCE_LIBRARY_VERSION=10.3

#####################################################################
Expand Down Expand Up @@ -39,7 +39,7 @@ LABEL \
arch="x86-64" \
base="microsoft/nanoserver:1803" \
maintainer="Kev Palfreyman (@kpalf)" \
build-date="20181015" \
build-date="20190428" \
version=${ACCE_VERSION}

# Set environment variables inside the image
Expand Down
7 changes: 3 additions & 4 deletions apamacore-nanoserver_amd64/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You will also see tags for Apama Core on other base images such as CentOS (amd64
The first nanoserver image for this repository was using version 1709, but as new releases become available it's moved forward, for example with version 1803.
The nanoserver 1803 based image for Apama Core can be pulled with the following command:
```
docker pull kpalf/apamacore:10.3.0.1_nanoserver_amd64_1803
docker pull kpalf/apamacore:10.3.1.1_nanoserver_amd64_1803
```

## User ID
Expand All @@ -33,10 +33,9 @@ To find out more about Apama, access full documentation, and download the distri
Windows Server Nano Server has undergone significant changes since first release. The first LTS or GA release is known as `"10.0.14393.<build-number>"` and is around 400MB.
However, the ones we want are the smaller ones that started with the "Fall Creators Update" or "1709", with tags `"1709_KB<knowledge-base-id>"`, and later the "1803" release. The 1709 release started nice and small at 93MB when it was first released, but have grown with each monthly update - the May 2018 is 132MB. The first 1803 release in May 2018 was 115MB, and by October 2018 is 145MB.

To use the nanoserver 1709 image, and layered images such as this one, your host OS needs to be either Windows 10 (Fall Creators Update / 1709), or Windows Server version 1709.
To use the nanoserver 1803 image, and layered images such as this one, your host OS needs to be either Windows 10 (1803), or Windows Server version 1803. The 1803 image might work on a 1709 host but is NOT recommended (I don't test this).
To use the nanoserver 1803 image, and layered images such as this one, your host OS needs to be either Windows 10 (1803 or later), or Windows Server version 1803 or later. The 1803 image might work on a 1709 host but is NOT recommended (I don't test this).

In future we will create a nanoserver 1809 image.
In future we will create a later nanoserver image based on either 1809 (or maybe whatever 19H1 is labelled as).

For more info on Windows Container version compatibility wee the following:
https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility
Expand Down
2 changes: 1 addition & 1 deletion apamacore-nanoserver_amd64/tag.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker tag apamacore:nanoserver_amd64_1803 kpalf/apamacore:10.3.0.1_nanoserver_amd64_1803
docker tag apamacore:nanoserver_amd64_1803 kpalf/apamacore:10.3.1.1_nanoserver_amd64_1803
2 changes: 1 addition & 1 deletion apamacore-nanoserver_amd64/test-version.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
docker run --rm apamacore:nanoserver_amd64_1803 correlator --version
docker run --rm kpalf/apamacore:10.3.0.1_nanoserver_amd64_1803 correlator --version
docker run --rm kpalf/apamacore:10.3.1.1_nanoserver_amd64_1803 correlator --version
10 changes: 5 additions & 5 deletions apamacore-raspbian_armv7hf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ARG SAG_HOME=/opt/softwareag
ARG ACCE_VERSION=10.3.0.1
ARG ACCE_VERSION=10.3.1.1
ARG ACCE_LIBRARY_VERSION=10.3

# Docker Mulit-stage build

# First our builder image that does the download of Apama Core (some base images have to have curl added here)
FROM resin/rpi-raspbian:jessie as acce_build
FROM balenalib/rpi-raspbian:jessie as acce_build
ARG SAG_HOME
ARG ACCE_VERSION

Expand All @@ -25,7 +25,7 @@ RUN \
# 8 == Jessie (obsolete stable) ** used here **
# 7 == Wheezy (obsolete stable)
# 6 == Squeeze (obsolete stable)
FROM resin/rpi-raspbian:jessie
FROM balenalib/rpi-raspbian:jessie
ARG SAG_HOME
ARG APAMA_HOME=${SAG_HOME}/Apama
ARG APAMA_WORK=/apama_work
Expand All @@ -35,9 +35,9 @@ ARG ACCE_LIBRARY_VERSION
LABEL \
name="Apama Core Community Edition" \
arch="armv7hf" \
base="resin/rpi-raspbian:jessie" \
base="balenalib/rpi-raspbian:jessie" \
maintainer="Kev Palfreyman (@kpalf)" \
build-date="20181022" \
build-date="20190428" \
version=${ACCE_VERSION}

# Set the shell and create user identical to the official SAG images
Expand Down
10 changes: 5 additions & 5 deletions apamacore-raspbian_armv7hf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ You will also see tags for Apama Core on CentOS for amd64 (default), Ubuntu 18.1

For example, for the Raspbian (ARMv7hf) base there will be the following tagged image that you can pull with the following command:
```
docker pull kpalf/apamacore:10.3.0.1_raspbian_armv7hf
docker pull kpalf/apamacore:10.3.1.1_raspbian_armv7hf
```

## User ID
Expand All @@ -32,13 +32,13 @@ To find out more about Apama, access full documentation, and download the distri


## Base image
The base image is "resin/rpi-raspbian:jessie", but at some point I'll upgrade to "stretch".
The base image is "balenalib/rpi-raspbian:jessie", (resin repo renamed to balenalib) but at some point I'll upgrade to "stretch".
The Raspbian base is actually armv6, but that ought to be OK as the OS direct from RaspberryPi.org is the same.
It's possible in future we might switch the base image from Raspbian (armv6hf) to Debian (armv7hf).

See the Docker Hub info on the base image: https://hub.docker.com/r/resin/rpi-raspbian/
The base image is supplied and maintained by the good folks at http://resin.io, see their
documentation for further details: https://docs.resin.io/reference/base-images/resin-base-images/
See the Docker Hub info on the base image: https://hub.docker.com/r/balenalib/rpi-raspbian
The base image is supplied and maintained by the good folks at https://www.balena.io/ (previosuly http://resin.io), see their
documentation for further details: https://www.balena.io/docs/reference/base-images/base-images/


## Licenses
Expand Down
2 changes: 1 addition & 1 deletion apamacore-raspbian_armv7hf/tag.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
docker tag apamacore:raspbian_armv7hf kpalf/apamacore:10.3.0.1_raspbian_armv7hf
docker tag apamacore:raspbian_armv7hf kpalf/apamacore:10.3.1.1_raspbian_armv7hf
docker tag apamacore:raspbian_armv7hf kpalf/apamacore:raspbian_armv7hf
2 changes: 1 addition & 1 deletion apamacore-raspbian_armv7hf/test-version.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
docker run --rm apamacore:raspbian_armv7hf correlator --version
docker run --rm kpalf/apamacore:10.3.0.1_raspbian_armv7hf correlator --version
docker run --rm kpalf/apamacore:10.3.1.1_raspbian_armv7hf correlator --version
docker run --rm kpalf/apamacore:raspbian_armv7hf correlator --version
9 changes: 5 additions & 4 deletions apamacore-ubuntu_amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ARG SAG_HOME=/opt/softwareag
ARG ACCE_VERSION=10.3.0.1
ARG ACCE_VERSION=10.3.1.1
ARG ACCE_LIBRARY_VERSION=10.3

# Docker Mulit-stage build

# First our builder image that has curl added to it and does the download of Apama Core
FROM ubuntu:18.10 as acce_build
FROM ubuntu:19.04 as acce_build
ARG SAG_HOME
ARG ACCE_VERSION

Expand All @@ -20,6 +20,7 @@ RUN \


# Now make the real image that does not include 14MB of curl and dependencies
#19.04==disco (non-LTS)
#18.10==cosmic (non-LTS)
#18.04==bionic (LTS)
#16.04==xenial (LTS)
Expand All @@ -34,9 +35,9 @@ ARG ACCE_LIBRARY_VERSION
LABEL \
name="Apama Core Community Edition" \
arch="x86-64" \
base="ubuntu:18.10" \
base="ubuntu:19.04" \
maintainer="Kev Palfreyman (@kpalf)" \
build-date="20181022" \
build-date="20190428" \
version=${ACCE_VERSION}

# Set the shell and create user identical to the official SAG images
Expand Down
10 changes: 6 additions & 4 deletions apamacore-ubuntu_amd64/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# (Unofficial) Apama Core Community Edition on Ubuntu Linux
Dockerfile for an _unofficial_ Apama Core Community Edition on a Ubuntu base image. Currently this is with the Ubuntu 18.10 release.
Dockerfile for an _unofficial_ Apama Core Community Edition on a Ubuntu base image. Currently this is with the Ubuntu 19.04 release.
The Ubuntu base image used to be quite large but as of 18.04 are significantly smaller than the CentOS 7 (7.4 / 7.5) base images.

## Images and tags
Expand All @@ -11,7 +11,7 @@ You will also see tags for Apama Core on CentOS 7 for amd64, a couple of Windows

For example, for the Ubuntu (amd64) base initially there will be the following tagged image that you can pull with the following command:
```
docker pull kpalf/apamacore:10.3.0.1_ubuntu_amd64
docker pull kpalf/apamacore:10.3.1.1_ubuntu_amd64
```

## User ID
Expand All @@ -30,9 +30,11 @@ To find out more about Apama, access full documentation, and download the distri


## Base image
The base image is "ubuntu:18.10" ("cosmic") - non-LTS.
The base image for Apama 10.3.1 is "ubuntu:19.04" ("disco") - non-LTS.

Previous images (Apama 10.2) were using Ubuntu 18.04 ("bionic") LTS.
Previous images:
* Apama 10.3.0 using Ubuntu 18.10 ("cosmic") - non-LTS.
* Apama 10.2 using Ubuntu 18.04 ("bionic") LTS.



Expand Down
2 changes: 1 addition & 1 deletion apamacore-ubuntu_amd64/tag.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
docker tag apamacore:ubuntu_amd64 kpalf/apamacore:10.3.0.1_ubuntu_amd64
docker tag apamacore:ubuntu_amd64 kpalf/apamacore:10.3.1.1_ubuntu_amd64
docker tag apamacore:ubuntu_amd64 kpalf/apamacore:ubuntu_amd64
2 changes: 1 addition & 1 deletion apamacore-ubuntu_amd64/test-version.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
docker run --rm kpalf/apamacore:10.3.0.1_ubuntu_amd64 correlator --version
docker run --rm kpalf/apamacore:10.3.1.1_ubuntu_amd64 correlator --version