Skip to content

Commit 4045a64

Browse files
Update dash path in dockerfile
1 parent 16d7d4d commit 4045a64

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Use the official Alpine Linux image as the base image
22
FROM --platform="linux/${TARGETARCH}" alpine:latest AS base-plus-dash
3-
LABEL version="3.0"
3+
LABEL version="3.1"
44
LABEL org.opencontainers.image.title="base-plus-dash"
55
LABEL org.opencontainers.image.description="Custom Alpine image with the dash shell installed."
66
LABEL org.opencontainers.image.vendor="individual"
@@ -10,12 +10,12 @@ SHELL [ "/bin/sh", "-c" ]
1010
RUN --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'
1616
ENV 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

2020
FROM --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
3433
COPY build-featherHash.sh /FeatherHash/build-featherHash.sh

0 commit comments

Comments
 (0)