mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-15 11:46:06 +00:00
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:
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user