Skip to content

Commit 728b32f

Browse files
optimize dockerfile
1 parent cf84548 commit 728b32f

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

v1/.dockerignore renamed to v1/.dockerignore1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@
22
.devspace/
33
devspace_start.sh
44
devspace.yaml
5-
Dockerfile
6-
Dockerfile.dev
75
plugin.yaml
86
README.yaml

v1/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ COPY . .
1616
# Build cmd
1717
RUN CGO_ENABLED=0 GO111MODULE=on go build -mod vendor -o /plugin main.go
1818

19-
# we use alpine for easier debugging
20-
FROM alpine
19+
# # we use alpine for easier debugging
20+
# FROM alpine
2121

22-
# Set root path as working directory
23-
WORKDIR /
22+
# # Set root path as working directory
23+
# WORKDIR /
2424

25-
COPY --from=builder /plugin .
25+
# COPY --from=builder /plugin .
2626

27-
ENTRYPOINT ["/plugin"]
27+
# ENTRYPOINT ["/plugin"]

0 commit comments

Comments
 (0)