Skip to content

Commit

Permalink
Downgrade to golang 1.11.5 as there is a major bug with crypto/x509 w…
Browse files Browse the repository at this point in the history
…hen building darwin binaries

See golang/go#30763 for details.
  • Loading branch information
marques-work committed Mar 19, 2019
1 parent b8eadbb commit c12f643
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.12.0-alpine
FROM golang:1.11.5-alpine
MAINTAINER GoCD Team <[email protected]>

RUN apk add --no-cache \
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ A docker image containing a Golang environment for builds

## Includes everything needed to build a basic golang project

- golang 1.12.0
- golang 1.11.5
- git
- gcc
- musl-dev (lib c headers, etc.)
- bash

## And some some extra utils that are useful:
Expand All @@ -16,5 +17,12 @@ A docker image containing a Golang environment for builds
## Building the image locally

```
docker build . -t gocddev/golang-build:1.12.0-alpine -f Dockerfile
docker build . -t gocddev/golang-build:1.11.5-alpine -f Dockerfile
```

## Running

```
# starts bash session, `-v` mounts a host path to container mount point
docker run -it -v /host/path:/path/to/mount/point gocddev/golang-build:1.11.5-alpine /bin/bash
```

0 comments on commit c12f643

Please sign in to comment.