Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
b40edfd065 | |||
96a7d3f29b | |||
07ba37211e | |||
532cf1773c | |||
961d4d6495 |
10
Dockerfile
10
Dockerfile
@ -1,8 +1,6 @@
|
||||
# Debian GNU/Linux 10 (1.13.10-buster)
|
||||
FROM golang:latest
|
||||
|
||||
# add zip
|
||||
RUN apt install zip
|
||||
# Alpine 3.20
|
||||
FROM golang:1.23.1-alpine3.20
|
||||
RUN apk add --no-cache zip git
|
||||
|
||||
# copy entrypoint file
|
||||
COPY entrypoint.go /usr/bin/entrypoint.go
|
||||
@ -11,4 +9,4 @@ COPY entrypoint.go /usr/bin/entrypoint.go
|
||||
RUN chmod +x /usr/bin/entrypoint.go
|
||||
|
||||
# set entrypoint command
|
||||
ENTRYPOINT [ "go", "run", "/usr/bin/entrypoint.go" ]
|
||||
ENTRYPOINT [ "go", "run", "/usr/bin/entrypoint.go"]
|
||||
|
Loading…
Reference in New Issue
Block a user