jdk14-alpine/Dockerfile

13 lines
389 B
Docker
Raw Normal View History

2023-03-30 17:58:04 +02:00
ARG BASE_IMAGE="adoptopenjdk/openjdk14:alpine-slim"
FROM ${BASE_IMAGE}
# Install docker-cli, docker-compose, git, bash
RUN apk update && \
apk add --no-cache docker-cli python3 py3-pip git bash && \
apk add --no-cache --virtual .docker-compose-deps python3-dev libffi-dev openssl-dev gcc libc-dev make && \
pip3 install docker-compose && \
apk del .docker-compose-deps