File tree Expand file tree Collapse file tree 3 files changed +28
-147
lines changed Expand file tree Collapse file tree 3 files changed +28
-147
lines changed Original file line number Diff line number Diff line change 1+ FROM centos:7
2+ MAINTAINER Dilawar Singh <
[email protected] >
3+
4+ # Install dependencies.
5+ RUN yum -y update && yum -y install epel-release && yum -y update \
6+ && yum -y clean all --enablerepo='*'
7+ RUN yum install -y git cmake gcc gcc-c++ make \
8+ python3 python3-setuptools gsl-dev python3-numpy \
9+ && yum -y clean all --enablerepo='*'
10+
11+ WORKDIR /home/root
12+ # RUN git clone https://github.com/dilawar/moose-core -b devel
13+ # Run docker build from outside
14+ COPY . /home/root/moose-core
15+ RUN cd moose-core && python3 setup.py build
Original file line number Diff line number Diff line change 1+ NAME: =dilawars/centos-moose
2+ VERSION: =$(shell date +% Y.% m.% d)
3+
4+ all : build
5+
6+ build : Dockerfile
7+ cd ../../ && docker build -t $(NAME ) :$(VERSION ) .docker/centos
8+ cd ../../ && docker build -t $(NAME ) :latest .docker/centos
9+
10+ upload :
11+ docker push $(NAME ) :$(VERSION )
12+ docker push $(NAME ) :latest
13+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments