Commit 4343b1de authored by C.D. Tiwari's avatar C.D. Tiwari
Browse files

Created base image for bioconda

parent 2d00670b
FROM ubuntu:16.04
########################################
# ROOT MODE
########################################
###### SETUP APT-FAST #####################
RUN apt-get update && apt-get install -y aria2 git \
&& git clone https://github.com/ilikenwf/apt-fast /tmp/apt-fast \
&& cp /tmp/apt-fast/apt-fast /usr/bin \
&& chmod +x /usr/bin/apt-fast \
&& cp /tmp/apt-fast/apt-fast.conf /etc
###### SETUP CURL #########################
RUN apt-fast update && apt-fast install -y curl
###### SETUP FIXUID #######################
RUN addgroup --gid 1000 docker && \
adduser --uid 1000 --ingroup docker --home /home/docker --shell /bin/sh --disabled-password --gecos "" docker
RUN USER=docker && \
GROUP=docker && \
curl -SsL https://github.com/boxboat/fixuid/releases/download/v0.1/fixuid-0.1-linux-amd64.tar.gz | tar -C /usr/local/bin -xzf - && \
chown root:root /usr/local/bin/fixuid && \
chmod 4755 /usr/local/bin/fixuid && \
mkdir -p /etc/fixuid && \
printf "user: $USER\ngroup: $GROUP\n" > /etc/fixuid/config.yml
ENTRYPOINT ["fixuid"]
###### SETUP ###############################
RUN apt-fast update && apt-fast install -y \
build-essential \
git \
r-base \
time \
zlib1g-dev \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment