Skip to content

Commit dd1ecf0

Browse files
committed
Revert "better alpine build"
This reverts commit 9030fa9.
1 parent 9030fa9 commit dd1ecf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ARG package
1010
ARG package_version
1111

1212
# Only add build tools for alpine image. The ubuntu based images have build tools already.
13-
RUN /bin/bash -c "if [[ $build_target == \*\"alpine\" ]] ; then apk add build-base ; fi"
13+
RUN if [[ "$build_target" == *"alpine" ]] ; then apk add build-base ; fi
1414

1515
# Install packaer and build all dependencies.
1616
RUN pip install $package==$package_version

0 commit comments

Comments
 (0)