-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a24696b
commit 4911052
Showing
3 changed files
with
22 additions
and
11 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 +1,2 @@ | ||
Torchfile | ||
Torchfile | ||
torch |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM golang:1.6.2-wheezy | ||
MAINTAINER Vladislav Spirenkov <moiplov@gmail.com> | ||
|
||
# Install system dependencies | ||
RUN apt-get update -qq && \ | ||
apt-get install -qq -y pkg-config build-essential | ||
|
||
RUN mkdir -p /app | ||
WORKDIR /app | ||
COPY . /app/ | ||
ENV GOPATH /go/ | ||
RUN go get -d -v | ||
RUN go build -o torch | ||
|
||
CMD ["./torch"] |
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