diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-08-11 12:13:21 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-08-11 12:13:21 -0400 |
commit | 39fa49a8389aa220cec3c249f2d09167b2556ded (patch) | |
tree | 1e47815065bd91b70f0cbcc8bc449812324fcd77 | |
parent | 2fb337b8b2b5eb73dad746c78e8058e34f6ba74e (diff) |
no more buildkit, okd doesn't support it
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,10 +1,9 @@ -# syntax = docker/dockerfile:1.2 FROM docker.io/golang:1.18.4-alpine3.16 AS build WORKDIR /src/ RUN apk add git COPY . . -RUN --mount=type=cache,target=/go go build -v -o vote +RUN go build -v -o vote FROM docker.io/alpine:3.16 COPY static /static |