Add entrypoint, -dir parameter
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -6,6 +6,9 @@ RUN cd /go/src; go build -o sleeper
|
||||
|
||||
FROM alpine
|
||||
|
||||
COPY --from=builder /go/src/sleeper /sleeper
|
||||
ADD docker/entrypoint.sh /entrypoint.sh
|
||||
COPY --from=builder /go/src/sleeper /usr/bin/sleeper
|
||||
|
||||
CMD ["/sleeper"]
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT "/entrypoint.sh"
|
Reference in New Issue
Block a user