Switch to upstream Go build images.

These internal `gcr.io/heptio-images/golang` images are deprecated. It looks like `git` and `bash` are the only things the Ark build needed that aren't in the upstream `golang:1.9-alpine3.6` image.

Signed-off-by: Matt Moyer <moyer@heptio.com>
This commit is contained in:
Matt Moyer
2018-04-24 09:53:23 -05:00
parent dc8c66b305
commit deae0e6ae1
+3 -2
View File
@@ -12,9 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM gcr.io/heptio-images/golang:1.9-alpine3.6
FROM golang:1.9-alpine3.6
RUN mkdir -p /go/src/k8s.io && \
RUN apk add --update --no-cache git bash && \
mkdir -p /go/src/k8s.io && \
cd /go/src/k8s.io && \
git clone -b kubernetes-1.9.0 https://github.com/kubernetes/code-generator && \
git clone -b kubernetes-1.9.0 https://github.com/kubernetes/apimachinery && \