Docker container providing an SAP HANA Express Edition on SUSE Linux image
381
This is an experimental repo designed to explore the possibility of providing the newly released SAP HANA Express Edition from within a docker container.
Whether or not this is possible and if so, how to achieve this is the goal and the why this repo was created.
The question of sense, that is "does it make sense to run SAP HANA from a docker image?" will probably not be in focus too much, but who knows :-)
Choose the desired state from the roadmap, copy the Dockerfile content that corresponds to your version, you will usually want to use the latest, and create an empty directory with the Dockerfile in it.
CD into the directory with the docker file and execute
docker build -t hxe .
To start a container, pull the image and execute
docker run --privileged --rm -ti -e 'container=docker' -h hxehost --network="bridge" --tmpfs /run --tmpfs /tmp -v /sys/fs/cgroup:/sys/fs/cgroup:ro siliconchris/hxe:v0.0.2 /bin/bash
Login as root with passed docker1
Future releases
The image hxe:0.0.1 was created based on opensuse/amd64:latest with the following additions/changes:
Is build on top of v0.0.1 with the following additions
Is build on top of v0.0.2 with the following additions
FROM opensuse/amd64:latest
MAINTAINER Christian Günther <[email protected]>
LABEL de.comlineag.version="0.0.1-beta"
LABEL vendor="COMLINE Computer + Softwareloesungen AG"
LABEL de.comlineag.release-date="2016-11-09"
LABEL de.comlineag.version.is-production=""
LABEL Description="This image is used to host a SAP HANA Express Edition"
LABEL Version="0.0.1-beta"
ENV hostname=hxehost
RUN echo "${hostname} > /etc/hostname"
EXPOSE 8000
EXPOSE 30075
RUN zypper --gpg-auto-import-keys ref -s
RUN zypper -n in apache2 \
apache2-mod_security2 \
autoyast2 \
gcc \
git-core \
hostname \
java \
libltdl7 \
libnuma1 \
libnuma-devel \
make \
mariadb \
mariadb-client \
openssl \
perl \
python \
ruby \
sudo \
util-linux \
util-linux-systemd \
uuidd \
vim \
wget
RUN zypper -n up
RUN mkdir -p /usr/sap
RUN mkdir -p /usr/sap/SRCFiles
RUN mkdir -p /hana/shared
FROM siliconchris/hxe:v0.0.1
MAINTAINER Christian Günther <[email protected]>
LABEL de.comlineag.version="0.0.2-beta"
LABEL vendor="COMLINE Computer + Softwareloesungen AG"
LABEL de.comlineag.release-date="2016-11-10"
LABEL de.comlineag.version.is-production=""
LABEL Description="This image is used to host a SAP HANA Express Edition"
LABEL Version="0.0.2-beta"
VOLUME /sys/fs/cgroup /run /tmp
RUN zypper -n in libopenssl0_9_8
ENV container=docker
FROM siliconchris/hxe:v0.0.2
MAINTAINER Christian Günther <[email protected]>
LABEL de.comlineag.version="0.0.3-beta"
LABEL vendor="COMLINE Computer + Softwareloesungen AG"
LABEL de.comlineag.release-date="2016-11-10"
LABEL de.comlineag.version.is-production=""
LABEL Description="This image is used to host a SAP HANA Express Edition"
LABEL Version="0.0.3-beta"
COPY resources /usr/sap/SRCFiles/
WORKDIR /usr/sap/SRCFiles
RUN tar -xzf /usr/sap/SRCFiles/hxe.tgz -C /usr/sap/SRCFiles
RUN tar -xzf /usr/sap/SRCFiles/hxexsa.tgz -C /usr/sap/SRCFiles
Content type
Image
Digest
Size
299.7 MB
Last updated
almost 10 years ago
docker pull siliconchris/hxe:v0.0.2