forked from wemake-services/docker-image-size-limit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
28 lines (23 loc) · 872 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# ========================================
# = Warning! =
# ========================================
# This is Github Action docker-based image.
# It is not intended for local development!
#
# It can still be used as a raw image for your own containers.
# See `action.yml` in case you want to learn more about Github Actions.
# See it live:
# https://github.com/wemake-services/docker-image-size-limit/actions
#
# This image is also available on Dockerhub:
# https://hub.docker.com/r/wemakeservices/docker-image-size-limit
FROM python:3.12.6-alpine
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="wemake.services"
# Our own tool:
ENV DISL_VERSION='2.1.0'
RUN apk add --no-cache bash docker
RUN pip3 install "docker-image-size-limit==$DISL_VERSION"
COPY ./scripts/entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]