Skip to content

Instantly share code, notes, and snippets.

@jonshipman
Created November 16, 2021 17:23
Show Gist options
  • Save jonshipman/1edba10024a0b77fca31562dd67d25d2 to your computer and use it in GitHub Desktop.
Save jonshipman/1edba10024a0b77fca31562dd67d25d2 to your computer and use it in GitHub Desktop.
Add cwebp to a gitlab runner ci yaml (docker image)
before_script:
- apt-get update -y
- apt-get install curl -y
- curl https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-0.4.1-linux-x86-64.tar.gz -o cwebp.tar.gz
- tar -zxvf cwebp.tar.gz
- export PATH="$PATH:$(realpath libwebp-0.4.1-linux-x86-64/bin)"
# Set these as "RUN" commands and you can use these in any dockerfile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment