Merge pull request #1365 from skriss/update-base-images

switch to debian:stretch-slim base images and go 1.12.x
This commit is contained in:
Nolan Brubaker
2019-04-15 16:24:17 -04:00
committed by GitHub
7 changed files with 21 additions and 22 deletions
+2 -3
View File
@@ -12,10 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.11-alpine3.8
FROM golang:1.12-stretch
RUN apk add --update --no-cache git bash && \
mkdir -p /go/src/k8s.io && \
RUN mkdir -p /go/src/k8s.io && \
cd /go/src/k8s.io && \
git config --global advice.detachedHead false && \
git clone -b kubernetes-1.12.0 https://github.com/kubernetes/code-generator && \