Public Repository

Last pushed: 2 months ago
Short Description
Meteor container with yarn, run yarn with `meteor yarn`
Full Description
FROM ubuntu:17.04

ENV RELEASE 1.5
ENV METEOR_ALLOW_SUPERUSER true

RUN apt update && \
  apt install -y -qq curl
RUN apt clean && \
  rm -rf /var/lib/apt/lists

ENV user meteor
RUN useradd $user && mkdir /home/$user && chown $user:$user /home/$user -R
WORKDIR /home/$user
RUN su $user -c "curl https://install.meteor.com/?release=$RELEASE | sh"
RUN ls /home/meteor/.meteor/packages/meteor-tool
RUN cp /home/meteor/.meteor/packages/meteor-tool/${RELEASE}.0/mt-os.linux.x86_64/scripts/admin/launch-meteor /usr/bin/meteor
RUN chown $user /home/meteor/.meteor -R
RUN mkdir /source /build && chown $user /source /build

USER $user
RUN meteor npm install --global yarn

WORKDIR /source
CMD meteor
Docker Pull Command
Owner
linguala

Comments (0)