aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2022-08-11 12:13:21 -0400
committerGalen Guyer <galen@galenguyer.com>2022-08-11 12:13:21 -0400
commit39fa49a8389aa220cec3c249f2d09167b2556ded (patch)
tree1e47815065bd91b70f0cbcc8bc449812324fcd77
parent2fb337b8b2b5eb73dad746c78e8058e34f6ba74e (diff)
no more buildkit, okd doesn't support it
-rw-r--r--Dockerfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 0cbd170..5fbb814 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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