15 lines
No EOL
406 B
Docker
15 lines
No EOL
406 B
Docker
FROM alpine:3.20.1
|
|
|
|
# Install base
|
|
RUN apk add --no-cache --upgrade grep bash
|
|
RUN apk add --no-cache --upgrade python3 && ln -sf python3 /usr/bin/python
|
|
RUN python3 -m venv /venv
|
|
RUN /venv/bin/pip install --no-cache --upgrade pip setuptools
|
|
|
|
# Install specifics
|
|
RUN /venv/bin/pip install --no-cache --upgrade blag
|
|
|
|
ENV TARGET_DIRECTORY="/source"
|
|
|
|
WORKDIR $TARGET_DIRECTORY
|
|
CMD [ "/venv/bin/blag", "build" ] |