Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MG-RAST/AWE
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Paczian committed Nov 3, 2017
2 parents d48eada + 143ae0c commit 5b3eb16
Show file tree
Hide file tree
Showing 115 changed files with 11,455 additions and 4,739 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
# docker build --force-rm --no-cache --rm -t mgrast/awe .
# docker tag mgrast/awe mgrast/awe:${TAG}

# skycore push mgrast/awe:${TAG}
# docker create --name awe-temporary mgrast/awe:${TAG}
# docker cp awe-temporary:/go/bin/awe-worker .
# docker cp awe-temporary:/go/bin/awe-submitter .
# docker rm awe-temporary


FROM golang:1.7.6-alpine

Expand Down
17 changes: 7 additions & 10 deletions Dockerfile_worker
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# AWE worker with CWL runner

# docker build -t mgrast/awe-worker -f Dockerfile_worker .


FROM golang:1.7.6-alpine as builder
FROM golang:1.7.6-alpine

# git needed for GIT_COMMIT_HASH
RUN apk update && apk add git
Expand All @@ -18,15 +20,10 @@ RUN ln -s /go /gopath
RUN mkdir -p ${AWE} && \
cd ${AWE} && \
go get -d ./awe-worker/ && \
./compile.sh



FROM mgrast/cwl-runner:latest


COPY --from=builder /go/bin/awe-worker /
./compile-worker.sh

# install cwl-runner with node.js
RUN apk update ; apk add py-pip nodejs gcc python-dev musl-dev
RUN pip install --upgrade pip ; pip install cwl-runner

ENTRYPOINT ["/awe-worker"]

29 changes: 0 additions & 29 deletions Dockerfile_worker-develop

This file was deleted.

Loading

0 comments on commit 5b3eb16

Please sign in to comment.