Public Repository

Last pushed: 6 months ago
Short Description
For Atlassian Pipeline deployments for simple front end builds.
Full Description

DOCKER COMMANDS

FROM debian:stable-slim
MAINTAINER Samuel Debruyn <s@muel.be>

ENV DEBIAN_FRONTEND noninteractive

# setup workdir
RUN mkdir -p /root/work/
WORKDIR /root/work/

#update
RUN apt-get update

#node
RUN apt-get install -y build-essential
RUN apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup_7.x | bash -
RUN apt-get install -y nodejs

# git
RUN apt-get -y install git

# get latest git-ftp. have to pull from github instead of apt-get to get latest.
RUN git clone https://github.com/git-ftp/git-ftp.git && cd git-ftp && tag="$(git tag | grep '^[0-9]*\.[0-9]*\.[0-9]*$' | tail -1)" && git checkout "$tag" && make install && cd ..

#gulp
RUN npm install install gulp -g

# slim down image
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/man/?? /usr/share/man/??_*
Docker Pull Command
Owner
amasen

Comments (0)