Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
TSI
docker
Commits
4343b1de
Commit
4343b1de
authored
Feb 19, 2019
by
C.D. Tiwari
Browse files
Created base image for bioconda
parent
2d00670b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
bioconda/Dockerfile.base
bioconda/Dockerfile.base
+37
-0
No files found.
bioconda/Dockerfile.base
0 → 100644
View file @
4343b1de
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 \
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment