Skip to content

Commit 8c9b940

Browse files
Alpine does not work with this
1 parent e261c69 commit 8c9b940

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ ARG GIT_BRANCH=master
1212
RUN git clone --depth 1 --branch ${GIT_BRANCH} ${GIT_CLONE_URL} /app
1313
RUN rm -rf /app/.git
1414

15-
FROM python:${PYTHON_VERSION}-alpine as final
15+
FROM python:${PYTHON_VERSION}-slim as final
1616
COPY --from=clone /app /app
1717
WORKDIR /app
18-
RUN apk add --no-cache gcc libc-dev bash zsh openjdk8-jdk
18+
RUN apt update && apt install gcc libc-dev bash zsh openjdk8-jdk
1919
ENTRYPOINT [ "python3", "/app/main.py" ]

0 commit comments

Comments
 (0)