We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9030fa9 commit dd1ecf0Copy full SHA for dd1ecf0
dockerfile
@@ -10,7 +10,7 @@ ARG package
10
ARG package_version
11
12
# 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"
+RUN if [[ "$build_target" == *"alpine" ]] ; then apk add build-base ; fi
14
15
# Install packaer and build all dependencies.
16
RUN pip install $package==$package_version
0 commit comments