mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
chore: Remove VOLUME instruction from image (#3027)
Signed-off-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
@@ -36,5 +36,4 @@ COPY --from=builder /go/src/github.com/project-zot/zot/bin/zot-$TARGETOS-$TARGET
|
||||
COPY --from=builder /go/src/github.com/project-zot/zot/config.json /etc/zot/config.json
|
||||
ENTRYPOINT ["/usr/bin/zot"]
|
||||
EXPOSE 5000
|
||||
VOLUME ["/var/lib/registry"]
|
||||
CMD ["serve", "/etc/zot/config.json"]
|
||||
|
||||
@@ -32,5 +32,4 @@ COPY --from=builder /go/src/github.com/project-zot/zot/bin/zot-$TARGETOS-$TARGET
|
||||
COPY --from=builder /go/src/github.com/project-zot/zot/config.json /etc/zot/config.json
|
||||
ENTRYPOINT ["/usr/bin/zot"]
|
||||
EXPOSE 5000
|
||||
VOLUME ["/var/lib/registry"]
|
||||
CMD ["serve", "/etc/zot/config.yaml"]
|
||||
|
||||
@@ -35,5 +35,4 @@ COPY --from=builder /go/src/github.com/project-zot/zot/bin/zot-$TARGETOS-$TARGET
|
||||
COPY --from=builder /go/src/github.com/project-zot/zot/config.json /etc/zot/config.json
|
||||
ENTRYPOINT ["/usr/bin/zot"]
|
||||
EXPOSE 5000
|
||||
VOLUME ["/var/lib/registry"]
|
||||
CMD ["serve", "/etc/zot/config.json"]
|
||||
|
||||
@@ -58,8 +58,6 @@ build:
|
||||
dest: /etc/zot
|
||||
entrypoint:
|
||||
- /usr/bin/zot-linux-amd64
|
||||
volumes:
|
||||
- /var/lib/registry
|
||||
cmd:
|
||||
- serve
|
||||
- /etc/zot/config.json
|
||||
|
||||
@@ -57,8 +57,6 @@ build:
|
||||
dest: /etc/zot
|
||||
entrypoint:
|
||||
- /usr/local/bin/zot-${{OS}}-${{ARCH}}${{EXT:}}
|
||||
volumes:
|
||||
- /var/lib/registry
|
||||
cmd:
|
||||
- serve
|
||||
- /etc/zot/config.json
|
||||
|
||||
@@ -72,8 +72,6 @@ build:
|
||||
dest: /etc/zot
|
||||
entrypoint:
|
||||
- /usr/local/bin/zot-${{OS}}-${{ARCH}}
|
||||
volumes:
|
||||
- /var/lib/registry
|
||||
cmd:
|
||||
- serve
|
||||
- /etc/zot/config.json
|
||||
|
||||
Reference in New Issue
Block a user