astro-ghostcms/.pnpm-store/v3/files/ef/0f04604f0313e720d514f1810c8...

27 lines
605 B
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
FROM ubuntu:14.04.5
# Because there is no package cache in the image, you need to run:
RUN apt-get update
# Install nodejs
RUN apt-get install curl -y
RUN apt-get install python-software-properties -y
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get update --allow-unauthenticated
RUN apt-get install -y nodejs --force-yes
# Install smartwrap
RUN apt-get install git -y
RUN git clone https://www.github.com/tecfu/smartwrap
# Install grunt
RUN npm install grunt-cli -g
# Install dev dependencies
WORKDIR /smartwrap
RUN npm install
# Run unit tests
RUN node -v
RUN npm run test