Commit 8346a086 authored by Agrineer.org's avatar Agrineer.org

fixed bug in construction sequence

parent ab644ac7
......@@ -68,6 +68,12 @@ RUN apt-get -y install \
# *** ENTER YOUR TIME ZONE HERE ***
RUN rm /etc/localtime && ln -s /usr/share/zoneinfo/America/Denver /etc/localtime
# create user agrineer and start to populate directory
RUN useradd -d /home/agrineer -m agrineer -s /bin/bash
RUN rm -rf /home/agrineer
ADD agrineer /home/agrineer
RUN chown -R agrineer.agrineer /home/agrineer
# first, as root, compile and install libjasper from source since
# it is no longer available as a package from Debian/Ubuntu
WORKDIR /usr/local/src
......@@ -80,11 +86,7 @@ RUN ./configure \
&& make \
&& make install
# create user agrineer and start to populate directory
RUN useradd -d /home/agrineer -m agrineer -s /bin/bash
RUN rm -rf /home/agrineer
ADD agrineer /home/agrineer
RUN chown -R agrineer.agrineer /home/agrineer
# become user agrineer
USER agrineer
WORKDIR /home/agrineer/wrf
RUN mkdir gfs_0.25 log output
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment