Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Move to common image (OL)
Browse files Browse the repository at this point in the history
Signed-off-by: Erin Schnabel <schnabel@us.ibm.com>
  • Loading branch information
Erin Schnabel committed Feb 5, 2018
1 parent a7c63cc commit 14feeb5
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 200 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Expand Up @@ -6,10 +6,7 @@ language: java
jdk:
- openjdk8
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y install docker-ce
- bash <(curl -s https://raw.githubusercontent.com/gameontext/gameon/master/build/updateTravisDocker.sh)
script:
- ./gradlew build
after_success:
Expand Down
81 changes: 0 additions & 81 deletions room-app/pom.xml

This file was deleted.

31 changes: 2 additions & 29 deletions room-wlpcfg/Dockerfile
@@ -1,36 +1,9 @@
FROM websphere-liberty:beta

MAINTAINER Erin Schnabel <schnabel@us.ibm.com> (@ebullientworks)

ENV ETCD_VERSION 2.2.2

RUN apt-get update \
&& apt-get install -y curl \
\
# setup etcd
&& wget https://github.com/coreos/etcd/releases/download/v${ETCD_VERSION}/etcd-v${ETCD_VERSION}-linux-amd64.tar.gz -q \
&& tar xzf etcd-v${ETCD_VERSION}-linux-amd64.tar.gz etcd-v${ETCD_VERSION}-linux-amd64/etcdctl --strip-components=1 \
&& rm etcd-v${ETCD_VERSION}-linux-amd64.tar.gz \
&& mv etcdctl /usr/local/bin/etcdctl

# Install required features
RUN /opt/ibm/wlp/bin/installUtility install --acceptLicense \
apiDiscovery-1.0 \
bluemixLogCollector-1.1 \
cdi-1.2 \
concurrent-1.0 \
couchdb-1.0 \
localConnector-1.0 \
jaxrs-2.0 \
jndi-1.0 \
jsonp-1.0 \
ssl-1.0 \
websocket-1.1
FROM gameontext/docker-liberty-custom

ENV SERVERDIRNAME room

COPY ./startup.sh /opt/startup.sh
ADD ./servers/gameon-room /opt/ibm/wlp/usr/servers/defaultServer/
ADD ./servers/gameon-room /opt/ol/wlp/usr/servers/defaultServer/

CMD ["/opt/startup.sh"]

Expand Down
63 changes: 0 additions & 63 deletions room-wlpcfg/pom.xml

This file was deleted.

20 changes: 0 additions & 20 deletions room-wlpcfg/servers/gameon-room/bluemix-logCollector.xml

This file was deleted.

1 change: 0 additions & 1 deletion room-wlpcfg/servers/gameon-room/server.xml
Expand Up @@ -56,7 +56,6 @@
<jndiEntry jndiName="developmentMode" value="${env.GAMEON_MODE}"/>
<jndiEntry jndiName="targetPlatform" value="${env.TARGET_PLATFORM}"/>
<include location="${env.TARGET_PLATFORM}-config.xml" optional="true" />
<include location="${env.TARGET_PLATFORM}-logCollector.xml" optional="true" />
<include location="${env.TARGET_PLATFORM}-messageHub.xml" optional="true" />

</server>
4 changes: 2 additions & 2 deletions room-wlpcfg/startup.sh
Expand Up @@ -7,7 +7,7 @@ fi

export CONTAINER_NAME=recroom

SERVER_PATH=/opt/ibm/wlp/usr/servers/defaultServer
SERVER_PATH=/opt/ol/wlp/usr/servers/defaultServer

if [ "$ETCDCTL_ENDPOINT" != "" ]; then
echo Setting up etcd...
Expand Down Expand Up @@ -54,4 +54,4 @@ if [ "$ETCDCTL_ENDPOINT" != "" ]; then
wget https://github.com/ibm-messaging/message-hub-samples/raw/master/java/message-hub-liberty-sample/lib-message-hub/messagehub.login-1.0.0.jar
fi

exec /opt/ibm/wlp/bin/server run defaultServer
exec /opt/ol/wlp/bin/server run defaultServer

0 comments on commit 14feeb5

Please sign in to comment.