Skip to content

Commit cb0268c

Browse files
[PATCH] more docker fixes
1 parent e8bde76 commit cb0268c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,24 @@ FROM --platform="linux/${TARGETARCH}" alpine:latest as featherhash-bellows
44
RUN mkdir -p /FeatherHash/FeatherHash && \
55
mkdir -p /FeatherHash/tests
66

7-
# Set the working directory inside the container
8-
WORKDIR /FeatherHash
9-
107
# Install necessary dependencies and build tools
118
RUN apk update && \
129
apk add --no-cache \
1310
clang \
1411
llvm \
15-
cmd:bash
12+
cmd:dash
1613

1714
# Copy the project files into the container
1815
COPY build-featherHash.sh /FeatherHash/build-featherHash.sh
1916
COPY FeatherHash/* /FeatherHash/FeatherHash/
2017
COPY LICENSE /FeatherHash/LICENSE
2118

19+
# Set the working directory inside the container
20+
WORKDIR /FeatherHash
21+
2222
# Build the project using the provided build script
23-
RUN ./build-featherHash.sh
23+
RUN chmod +x build-featherHash.sh && \
24+
dash ./build-featherHash.sh
2425

2526
# Install necessary testing tools
2627
RUN apk update && \

0 commit comments

Comments
 (0)