Skip to content

Instantly share code, notes, and snippets.

@cybik
Created September 22, 2018 00:37
Show Gist options
  • Save cybik/d3b840a3db7001726224485b15b3b375 to your computer and use it in GitHub Desktop.
Save cybik/d3b840a3db7001726224485b15b3b375 to your computer and use it in GitHub Desktop.
Magic Docker
FROM screwdrivercd/screwdriver:stable
RUN apt-get update && apt-get install -y zip unzip && mkdir -p /localnpm
WORKDIR /localnpm
RUN wget https://github.com/minz1027/scm-gitlab/archive/master.zip && unzip master
WORKDIR /usr/src/app
RUN npm install /localnpm/scm-gitlab-master
# Expose the web service port
EXPOSE 80
WORKDIR /usr/src/app/node_modules/screwdriver-api
# Run the service
CMD [ "npm", "start" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment