Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliano Petronetto committed Jan 21, 2018
1 parent a642730 commit 63abd76
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

FROM petronetto/py3-builder
FROM petronetto/alpine-machine-learning-base

LABEL maintainer="Juliano Petronetto <[email protected]>" \
name="PyTorch Alpine" \
Expand All @@ -38,16 +38,14 @@ LABEL maintainer="Juliano Petronetto <[email protected]>" \
vendor="Petronetto DevTech" \
version="1.0"

RUN apk --update upgrade \
## Install PyTorch
RUN echo "|--> Updating" \
&& apk update && apk upgrade \
&& echo "|--> Install PyTorch" \
&& git clone --recursive https://github.com/pytorch/pytorch \
&& cd pytorch && python setup.py install \
## Install Torch Vision
&& echo "|--> Install Torch Vision" \
&& git clone --recursive https://github.com/pytorch/vision \
&& cd vision && python setup.py install \
## Cleaning
&& echo "|--> Cleaning" \
&& rm -rf /pytorch \
&& rm -rf /root/.cache \
Expand Down

0 comments on commit 63abd76

Please sign in to comment.