Skip to content

Commit

Permalink
Merge pull request #2 from sbamin/dev
Browse files Browse the repository at this point in the history
Push v1.3.0_75237be
  • Loading branch information
sbamin authored Apr 22, 2018
2 parents 6d43556 + b6dcbd3 commit b2cd3d8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
29 changes: 18 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,28 @@ FROM ubuntu:16.04
## For questions, visit https:
MAINTAINER "Samir B. Amin" <tweet:sbamin; https://sbamin.com/contact>

LABEL version="1.3.0" \
mode="gdc-client-1.3.0" \
LABEL version="1.3.0_75237be" \
mode="gdc-client-1.3.0_75237be" \
description="docker image to run NCI gdc-client" \
website="https://github.com/sbamin/gdc-client" \
issues="https://github.com/sbamin/gdc-client/issues"
issues="https://github.com/sbamin/gdc-client/issues" \
upstream_repo="https://github.com/NCI-GDC/gdc-client" \
upstream_branch="develop" \
upstream_commit="75237be04b827e8293c170462d37520200e55b06" \
upstream_lastmod="2018-03-29"

RUN umask 0022 && apt-get update && \
apt-get install -y wget zip unzip rsync sudo
apt-get install -y wget zip unzip rsync sudo git python python-pip python-dev libxml2-dev libxslt1-dev zlib1g-dev build-essential

RUN mkdir -p /opt/bin && \
chmod 755 /opt/bin && \
cd /opt/bin && \
wget https://gdc.cancer.gov/system/files/authenticated%20user/0/gdc-client_v1.3.0_Ubuntu14.04_x64.zip && \
unzip gdc-client_v1.3.0_Ubuntu14.04_x64.zip && \
chmod 755 gdc-client && \
rm -f gdc-client_v1.3.0_Ubuntu14.04_x64.zip
RUN mkdir -p /opt && \
cd /opt && \
git clone https://github.com/NCI-GDC/gdc-client.git && \
cd gdc-client && \
git checkout develop && \
pip install -r requirements.txt && \
pip install -r dev-requirements.txt && \
python setup.py install && \
pip freeze

####### Setup non-root docker env #######
## copy setup files in the container ##
Expand All @@ -42,6 +48,7 @@ RUN ls -alh /tempdir/* && \
chmod 755 /etc/profile.d && \
rsync -avhP /tempdir/profile.d/ /etc/profile.d/ && \
chmod 755 /etc/profile.d/*.sh && \
mkdir -p /opt/bin && \
rsync -avhP /tempdir/bin/ /opt/bin/ && \
chmod 755 /opt/bin/startup && \
chmod 755 /opt/bin/userid_mapping.sh && \
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
### gdc-client docker image

[![Docker Build Status](https://img.shields.io/docker/build/sbamin/gdc-client.svg)](https://hub.docker.com/r/sbamin/gdc-client/) [![GitHub release](https://img.shields.io/github/release/sbamin/gdc-client.svg)](https://github.com/sbamin/gdc-client/releases/tag/v1.3.0) [![GitHub release](https://img.shields.io/github/issues/sbamin/gdc-client.svg)](https://github.com/sbamin/gdc-client/issues) [![Website](https://img.shields.io/website/http/sbamin.github.io%2Fgdc-client%2F.svg?label=How-To)](https://sbamin.github.io/gdc-client/)
[![Docker Build Status](https://img.shields.io/docker/build/sbamin/gdc-client.svg)](https://hub.docker.com/r/sbamin/gdc-client/) [![GitHub release](https://img.shields.io/github/release/sbamin/gdc-client.svg)](https://github.com/sbamin/gdc-client/releases/tag/v1.3.0_75237be) [![GitHub release](https://img.shields.io/github/issues/sbamin/gdc-client.svg)](https://github.com/sbamin/gdc-client/issues) [![Website](https://img.shields.io/website/http/sbamin.github.io%2Fgdc-client%2F.svg?label=How-To)](https://sbamin.github.io/gdc-client/)

>7-Feb-2018
>[v1.3.0](https://github.com/sbamin/gdc-client/releases/tag/v1.3.0)
>22-Apr-2018
>[v1.3.0_75237be](https://github.com/sbamin/gdc-client/releases/tag/v1.3.0_75237be)
* Source: https://github.com/sbamin/gdc-client
* Docker: https://hub.docker.com/r/sbamin/gdc-client
Expand Down

0 comments on commit b2cd3d8

Please sign in to comment.