* Replace mkdir with WORKDIR * Remove unnecessary package list * Remove graalvm removal in the base image This could speed up local builds since we don't need to download it every time * Remove package information * Remove the downloaded apk * Add a changelog entry * Revert WORKDIR changes
16 lines
311 B
Docker
16 lines
311 B
Docker
FROM ubuntu:latest
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y curl \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& mkdir -p /usr/local/bin
|
|
|
|
ARG TARGETARCH
|
|
ARG TARGETOS
|
|
|
|
COPY metabom.jar /opt/babashka-metabom.jar
|
|
COPY ${TARGETOS}/${TARGETARCH}/bb /usr/local/bin/bb
|
|
|
|
RUN chmod +x /usr/local/bin/bb
|
|
|
|
CMD ["bb"]
|