Skip to content

Commit bfabf56

Browse files
committed
Add inotify, plus additional alpine build packages
1 parent 08d254a commit bfabf56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ ARG package_version
1111

1212
# Only add build tools for alpine image. The ubuntu based images have build tools already.
1313
# This command fails with a warning on Ubuntu (sh) and succeeds without issue on alpine (bash).
14-
RUN if [[ "$build_target" == *"alpine" ]] ; then apk add build-base ; fi
14+
RUN if which apk ; then apk add python3-dev libffi-dev libevent-dev build-base ; fi
1515

16-
# Install packaer and build all dependencies.
17-
RUN pip install $package==$package_version
16+
# Install package and build all dependencies.
17+
RUN pip install inotify $package==$package_version
1818

1919
# Build our actual container now.
2020
FROM python:$publish_target

0 commit comments

Comments
 (0)