1
1
FROM ubuntu/apache2:2.4-20.04_beta
2
-
3
2
# Match Docker expectations for logging like the Docker Library nginx image
4
3
RUN ln -sf /dev/stdout /var/log/apache2/access.log && \
5
4
ln -sf /dev/stderr /var/log/apache2/error.log && \
@@ -23,12 +22,8 @@ RUN apt update -y && \
23
22
rm -rf /var/lib/apt/lists/* && \
24
23
# python-pip is no longer included in the distribution as Python 2 is out of support
25
24
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | python
26
- RUN mkdir -p /opt/dicey/bin && \
27
- mkdir -p /opt/dicey/dicey_tempfiles && \
28
- chgrp www-data /opt/dicey/dicey_tempfiles && \
29
- chmod g+w /opt/dicey/dicey_tempfiles && \
30
- curl -Lo /opt/dicey/bin/dicey https://github.com/gear-genomics/dicey/releases/download/v0.1.8/dicey_v0.1.8_linux_x86_64bit && \
31
- chmod +x /opt/dicey/bin/dicey
25
+ RUN curl -Lo /usr/local/bin/dicey https://github.com/gear-genomics/dicey/releases/download/v0.1.8/dicey_v0.1.8_linux_x86_64bit && \
26
+ chmod +x /usr/local/bin/dicey
32
27
ARG JBROWSE_VERSION=1.12.3
33
28
RUN curl -LO https://jbrowse.org/releases/JBrowse-${JBROWSE_VERSION}/JBrowse-${JBROWSE_VERSION}.zip && \
34
29
unzip JBrowse-${JBROWSE_VERSION}.zip && \
@@ -38,5 +33,5 @@ RUN curl -LO https://jbrowse.org/releases/JBrowse-${JBROWSE_VERSION}/JBrowse-${J
38
33
RUN pip install --no-cache-dir numpy==1.11.2 pymongo==3.8.0 requests==2.22.0 && \
39
34
pip3 install --no-cache-dir numpy==1.17.2 pymongo==3.8.0 requests==2.20.0 Jinja2==2.10.1
40
35
COPY config-template /var/www/html/config
41
-
36
+ WORKDIR /var/www/html
42
37
CMD service mongodb start && exec apache2-foreground
0 commit comments