blob: 72e0d79d8d90a4b29c633dfcefcb5ab987886dc5 [file] [log] [blame]
FROM node:12
ARG userid
ARG groupid
ARG username
ARG tzbbroot
RUN apt-get update && apt-get install -y gdal-bin zip
# Set up the user so that files are owned by the proper user
RUN groupadd -g $groupid $username \
&& useradd -m -u $userid -g $groupid $username
RUN mkdir -p $tzbbroot && chown $userid $tzbbroot
ENV DOCKER=true
USER $username