-
-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Im trying to build the project with a different poll cycle and im experiencing some issues with building the dockerfile.
What i did it is:
- clone the repo
- change the relevant code (pkg/controller/awssecret/awssecret_controller.go: 138;140)
- changed Second to Hour
- modifying the dockerfile
FROM golang:1.14 as builder
ENV APP_VERSION=0.3.3
ENV GOOS=linux
ENV GOARCH=amd64
WORKDIR /go/src/github.com/mumoshu/aws-secret-operator
COPY . /go/src/github.com/mumoshu/aws-secret-operator
RUN make build -e GO111MODULE=on
FROM alpine:3.10
RUN apk add --update --no-cache ca-certificates libc6-compat
USER nobody
COPY --from=builder /go/src/github.com/mumoshu/aws-secret-operator/bin/aws-secret-operator /usr/local/bin/aws-secret-operator
Failing with
=> ERROR [builder 4/4] RUN make build -e GO111MODULE=on 0.3s
------
> [builder 4/4] RUN make build -e GO111MODULE=on:
#11 0.278 make: *** No rule to make target 'build'. Stop.
------
failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c make build -e GO111MODULE=on]: runc did not terminate sucessfully
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels