-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix #314 * Remove pip 2 commands
- Loading branch information
Showing
2 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
FROM iotedgedev-linux-base | ||
ARG IOTEDGEDEV_VERSION | ||
COPY iotedgedev-$IOTEDGEDEV_VERSION-py2.py3-none-any.whl dist/iotedgedev-$IOTEDGEDEV_VERSION-py2.py3-none-any.whl | ||
RUN pip install dist/iotedgedev-$IOTEDGEDEV_VERSION-py2.py3-none-any.whl | ||
RUN export LC_ALL=C.UTF-8 && \ | ||
export LANG=C.UTF-8 | ||
|
||
RUN useradd -m iotedgedev && \ | ||
echo 'iotedgedev ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \ | ||
chown -R iotedgedev:iotedgedev . | ||
|
||
USER iotedgedev | ||
RUN sudo -H pip3 install dist/iotedgedev-$IOTEDGEDEV_VERSION-py2.py3-none-any.whl && \ | ||
sudo rm -rf dist/ | ||
ENV LC_ALL C.UTF-8 | ||
ENV LANG C.UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters