11# Use the official Alpine Linux image as the base image
22FROM --platform="linux/${TARGETARCH}" alpine:latest AS base-plus-dash
3- LABEL version="3.0 "
3+ LABEL version="3.1 "
44LABEL org.opencontainers.image.title="base-plus-dash"
55LABEL org.opencontainers.image.description="Custom Alpine image with the dash shell installed."
66LABEL org.opencontainers.image.vendor="individual"
@@ -10,12 +10,12 @@ SHELL [ "/bin/sh", "-c" ]
1010RUN --mount=type=cache,target=/var/cache/apk,sharing=locked --network=default \
1111 apk update \
1212 && apk add cmd:dash
13- SHELL [ "/bin/dash", "-l", "-c" ]
14- ENTRYPOINT ["/bin/dash"]
15- ENV DASH='/bin/dash'
13+ SHELL [ "/usr/ bin/dash", "-l", "-c" ]
14+ ENTRYPOINT ["/usr/ bin/dash"]
15+ ENV DASH='/usr/ bin/dash'
1616ENV HOSTNAME="base-plus-dash"
1717# default to double login
18- CMD [ "/bin/dash", "-l", "-c", "'exec -a dash /bin/dash -il'" ]
18+ CMD [ "/usr/ bin/dash", "-l", "-c", "'exec -a dash /usr /bin/dash -il'" ]
1919
2020FROM --platform="linux/${TARGETARCH}" base-plus-dash as featherhash-bellows
2121
@@ -27,8 +27,7 @@ RUN apk update && \
2727 apk add --no-cache \
2828 clang \
2929 llvm \
30- cmd:lld \
31- cmd:dash
30+ cmd:lld
3231
3332# Copy the project files into the container
3433COPY build-featherHash.sh /FeatherHash/build-featherHash.sh
0 commit comments