Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixes
  • Loading branch information
Russ Egan committed Apr 5, 2015
1 parent 9596af8 commit f3e332b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Expand Up @@ -5,12 +5,15 @@ MAINTAINER SafeNet Labs
RUN wget -nv https://get.docker.com/builds/Linux/x86_64/docker-latest -O /usr/bin/docker && \
chmod +x /usr/bin/docker

VOLUME /src
#VOLUME /src
#VOLUME /out
WORKDIR /src

COPY build_environment.sh /
COPY build.sh /

ENTRYPOINT ["/build_environment.sh"]

ONBUILD COPY ./ /src

CMD ["/build.sh"]
4 changes: 1 addition & 3 deletions build.sh
@@ -1,8 +1,6 @@
#!/bin/bash

source /build_environment.sh

tagName = $1
tagName=$1

# Compile statically linked version of package
echo "Building $pkgName"
Expand Down
2 changes: 2 additions & 0 deletions build_environment.sh
Expand Up @@ -15,6 +15,8 @@ then
exit 992
fi

export pkgName

# Grab just first path listed in GOPATH
goPath="${GOPATH%%:*}"

Expand Down

0 comments on commit f3e332b

Please sign in to comment.