Skip to content

Commit

Permalink
attempt to set build number in Docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Feb 21, 2017
1 parent 00dcb24 commit be5d9fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ ARG maintainer=tier
ARG imagename=shibboleth_idp
ARG version=3.3.0
ARG tierversion=17020
ARG tierbuild=$BUILD_NUMBER
ENV VERSION=$version
ENV TIERVERSION=$tierversion
ENV TIERBUILD=$tierbuild
ENV IMAGENAME=$imagename
ENV MAINTAINER=$maintainer

MAINTAINER $maintainer
LABEL Vendor="Internet2"
LABEL ImageType="Shibboleth IDP Release"
LABEL ImageName=$imagename
Expand Down
2 changes: 1 addition & 1 deletion files/bin/sendtierbeacon.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
LOGHOST="collector.testbed.tier.internet2.edu"
LOGPORT="5000"
if [ -s /opt/tier/env.bash ]; then
Expand Down
1 change: 1 addition & 0 deletions files/bin/setenv.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
printenv | sed 's/^\(.*\)$/\1/g' | grep -E "^VERSION" > /opt/tier/env.bash
printenv | sed 's/^\(.*\)$/\1/g' | grep -E "^TIERVERSION" >> /opt/tier/env.bash
printenv | sed 's/^\(.*\)$/\1/g' | grep -E "^IMAGE" >> /opt/tier/env.bash
Expand Down

0 comments on commit be5d9fc

Please sign in to comment.