Skip to content

Commit

Permalink
CloudAWIPS 18.1.1-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mjames-upc committed Sep 14, 2018
1 parent 3203fd9 commit 90e39d1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ENV README_FILE README.md
# Add the version number to the version file
###

RUN echo "CloudAWIPS Version: $(cat /awips2/cave/awipsVersion.txt | grep vizVersion| cut -d "=" -f 2) $(date)" >> $VERSION_FILE
RUN echo "CloudAWIPS Version: $(rpm -qa |grep awips2-cave-wrapper | cut -d "-" -f 4,5) $(date)" >> $VERSION_FILE

###
# Environmental variable control
Expand All @@ -53,9 +53,8 @@ RUN chown -R ${CUSER}:${CUSER} ${HOME}
# Manual cleanup
###

RUN rm -rf /awips2/cave/plugins/com.raytheon.uf.viz.archive_1.16.0.2018041718.jar
RUN rm -rf /awips2/cave/plugins/com.raytheon.uf.viz.stats_1.15.0.2018041718.jar
RUN rm -rf /awips2/cave/plugins/com.raytheon.uf.viz.useradmin_1.14.0.2018041718.jar
RUN rm -rf /awips2/cave/plugins/com.raytheon.uf.viz.archive*.jar
RUN rm -rf /awips2/cave/plugins/com.raytheon.uf.viz.useradmin*.jar

USER ${CUSER}

Expand All @@ -68,7 +67,7 @@ ENV CDEPTH 24

# Fluxbox desktop environment
RUN echo "session.screen0.toolbar.visible: false" >> ~/.fluxbox/init
RUN echo "session.screen0.defaultDeco: NONE" >> ~/.fluxbox/init
#RUN echo "session.screen0.defaultDeco: NONE" >> ~/.fluxbox/init
RUN echo "/usr/bin/fluxbox -log ~/.fluxbox/log" > ~/.fluxbox/startup
# Fluxbox menu
RUN echo "[begin] (fluxbox)" > ~/.fluxbox/menu
Expand Down
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
ORG = unidata
IMAGE = cloudawips
TAG = latest

all: build push

build:
docker build \
-t $(ORG)/$(IMAGE) \
docker build \
-t $(ORG)/$(IMAGE):$(TAG) \
-f Dockerfile \
--build-arg IMAGE=$(ORG)/$(IMAGE) \
--build-arg IMAGE=$(ORG)/$(IMAGE):$(TAG) \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
--build-arg VCS_URL=`git config --get remote.origin.url` \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
.
push:
docker push $(ORG)/$(IMAGE)
docker push $(ORG)/$(IMAGE):$(TAG)

.PHONY: build push
4 changes: 2 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ openssl req -new -x509 -days 365 -nodes -out self.pem -keyout self.pem -batch >&
cd ~
/home/${CUSER}/noVNC/utils/launch.sh ${SSLOP} --vnc 127.0.0.1:5901 >& /dev/null &

printf "\n\n=============================================================\n"
printf "\n\n=====================================================================\n"
cat VERSION.md
printf "=============================================================\n\n"
printf "=====================================================================\n\n"

if [ -f /home/${CUSER}/start.sh ]; then
/home/${CUSER}/start.sh >& /dev/null
Expand Down

0 comments on commit 90e39d1

Please sign in to comment.