File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- ARG BASE_IMAGE=ubuntu:18.10
15
+ ARG BASE_IMAGE=ubuntu:19.04
16
16
FROM $BASE_IMAGE
17
17
18
18
ARG GOPATH_ARG="/go"
19
19
20
- ENV GOVERSION=1.10 \
20
+ ENV GOVERSION=1.12 \
21
21
GOPATH=$GOPATH_ARG \
22
- ORG="github.com/ibm-messaging" \
23
- REPO= "mq-golang"
22
+ ORG="github.com/ibm-messaging"
23
+
24
24
25
25
# Install the Go compiler and Git
26
26
RUN export DEBIAN_FRONTEND=noninteractive \
@@ -67,6 +67,7 @@ RUN chmod 777 $GOPATH/buildInDocker.sh
67
67
68
68
# Copy the rest of the source tree from this directory into the container
69
69
# And make sure it's readable by the id that will run the compiles (not just root)
70
+ ENV REPO="mq-golang"
70
71
COPY . $GOPATH/src/$ORG/$REPO
71
72
RUN chmod -R a+rx $GOPATH/src
72
73
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ echo "Running as " `id`
27
27
# Build the libraries so they can be used by other programs
28
28
cd $GOPATH /src
29
29
30
+ echo " Using compiler:"
31
+ go version
32
+
30
33
for pkg in $ORG /$REPO /ibmmq $ORG /$REPO /mqmetric
31
34
do
32
35
lib=` basename $pkg `
47
50
48
51
echo " Building program: mqitest"
49
52
go build -o bin/mqitest $srcdir /mqitest/mqitest.go
53
+
You can’t perform that action at this time.
0 commit comments