mirror of
https://github.com/elgohr/Publish-Docker-Github-Action.git
synced 2026-03-12 18:07:12 -04:00
Bumps docker from 20.10.7 to 20.10.8. --- updated-dependencies: - dependency-name: docker dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
20 lines
444 B
Docker
20 lines
444 B
Docker
FROM docker:20.10.8 as runtime
|
|
LABEL "repository"="https://github.com/elgohr/Publish-Docker-Github-Action"
|
|
LABEL "maintainer"="Lars Gohr"
|
|
|
|
RUN apk update \
|
|
&& apk upgrade \
|
|
&& apk add --no-cache git
|
|
|
|
ADD entrypoint.sh /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
FROM runtime as testEnv
|
|
RUN apk add --no-cache coreutils bats
|
|
ADD test.bats /test.bats
|
|
ADD mock.sh /usr/local/bin/docker
|
|
ADD mock.sh /usr/bin/date
|
|
RUN /test.bats
|
|
|
|
FROM runtime
|