| # Copyright 2017 The Go Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style |
| # license that can be found in the LICENSE file. |
| # Docker tag gcr.io/go-dashboard-dev/linux-x86-alpine (staging) |
| # and gcr.io/symbolic-datum-552/linux-x86-alpine (prod) |
| FROM golang/buildlet-stage0 AS stage0 |
| MAINTAINER golang-dev <golang-dev@googlegroups.com> |
| RUN bash -c "(echo ChallengeResponseAuthentication no; echo PasswordAuthentication no; echo PermitRootLogin yes) > /etc/ssh/sshd_config" |
| COPY --from=stage0 /go/bin/stage0.static /usr/local/bin/stage0 |
| ENV GOROOT_BOOTSTRAP=/usr/lib/go |
| CMD ["/usr/local/bin/stage0"] |