Verified Commit 19b7b6ab authored by Thomas Citharel's avatar Thomas Citharel 🏃🏻
Browse files

Use custom docker image for CI


Signed-off-by: Thomas Citharel's avatarThomas Citharel <tcit@tcit.fr>
parent 5445fd4e
Pipeline #177622 passed with stages
in 3 minutes and 22 seconds
image: elixir:latest
image: tcitworld/ex_optimizer-ci:latest
stages:
- check
......@@ -6,8 +6,6 @@ stages:
- deploy
before_script:
- mix local.rebar --force
- mix local.hex --force
- mix deps.get
check:
......
FROM elixir:latest
LABEL maintainer="Thomas Citharel <tcit@tcit.fr>"
ENV REFRESHED_AT=2019-10-20
RUN apt-get update -yq && apt-get install -yq jpegoptim pngquant gifsicle optipng libjpeg-progs webp
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash && apt-get install nodejs -yq
RUN npm install -g svgo
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN mix local.hex --force && mix local.rebar --force
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment