Skip to content

Commit e6544d2

Browse files
authored
fix docker build + change base image (#78)
1 parent b61b029 commit e6544d2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ COPY internal/ internal/
1111

1212
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager cmd/ydb-kubernetes-operator/main.go
1313

14-
FROM alpine:3.15
14+
FROM scratch
1515
WORKDIR /
1616
COPY --from=builder /workspace/manager .
1717
USER 65532:65532

internal/resources/storage.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package resources
22

33
import (
4-
"encoding/base64"
54
"fmt"
65

76
api "github.com/ydb-platform/ydb-kubernetes-operator/api/v1alpha1"

0 commit comments

Comments
 (0)