forked from igemsoftware2018/igem_munich_2018
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
32 lines (25 loc) · 1.15 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Build: docker build -t apt-cacher .
# Run: docker run -d -p 3142:3142 --name apt-cacher-run apt-cacher
#
# and then you can run containers with:
# docker run -t -i --rm -e http_proxy http://dockerhost:3142/ debian bash
#
# Here, `dockerhost` is the IP address or FQDN of a host running the Docker daemon
# which acts as an APT proxy server.
FROM ubuntu
RUN apt-get update && \
apt-get install -y libasound2 libx11-xcb1 libgtk-3-0 libnss3 git curl gnupg build-essential python3 python3-pip hdf5-tools libhdf5-serial-dev && \
apt-get clean
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get -y install nodejs
RUN pip3 install mappy matplotlib h5py flask pandas upsetplot
RUN groupadd --gid 1000 user && \
useradd --uid 1000 --gid 1000 --create-home user
WORKDIR /App
RUN /bin/bash -c "chmod -R 775 /App"
RUN git clone https://github.com/mjoppich/sequ-into /App
RUN npm install && npm run package-linux
RUN /bin/bash -c "chmod -R 775 /App/release"
CMD /bin/bash -c "/App/release/sequ-into-1.3.0.AppImage --appimage-extract-and-run"
#./sequ-into-1.3.0.AppImage --appimage-extract-and-run