Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #136 from sanger-pathogens/farm5
Browse files Browse the repository at this point in the history
farm5 changes should be in master
  • Loading branch information
garethpeat authored Apr 30, 2020
2 parents d700feb + 42a1592 commit a1ded12
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM ubuntu:18.04

ENV DEBIAN_FRONTEND=noninteractive
LABEL [email protected]

# install system deps
RUN apt-get -qq update && \
apt-get install --quiet --assume-yes libmysqlclient-dev locales git curl cpanminus build-essential libssl-dev libcrypt-ssleay-perl dh-dist-zilla && \
apt-get clean

# fix locales
RUN sed -i -e 's/# \(en_GB\.UTF-8 .*\)/\1/' /etc/locale.gen && \
touch /usr/share/locale/locale.alias && \
locale-gen
ENV LANG en_GB.UTF-8
ENV LANGUAGE en_GB:en
ENV LC_ALL en_GB.UTF-8

# copy and install (with perl deps)
COPY . /opt/Bio-VertRes-Config
WORKDIR /opt/Bio-VertRes-Config
RUN dzil authordeps --missing | cpanm --force && \
cpanm Pod::Elemental::Transformer::List && \
cpanm DBD::mysql && \
dzil listdeps --missing | cpanm --force && \
dzil test && \
dzil install

0 comments on commit a1ded12

Please sign in to comment.