Skip to content

Instantly share code, notes, and snippets.

@bdunnette
Created April 28, 2017 19:48
Show Gist options
  • Save bdunnette/f20484e4ef57e61abd86fa9652adbdbf to your computer and use it in GitHub Desktop.
Save bdunnette/f20484e4ef57e61abd86fa9652adbdbf to your computer and use it in GitHub Desktop.
Dockerfile for Ubuntu 16.04 LTS & libvips-tools
FROM ubuntu:16.04
MAINTAINER Brian Dunnette <[email protected]>
RUN \
# Install dependencies
sed "s/archive.ubuntu.com/local-mirror.cs.umn.edu/g; \
s/security.ubuntu.com/local-mirror.cs.umn.edu/g" \
-i /etc/apt/sources.list && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
libvips-tools && \
# Clean up
apt-get autoremove -y && \
apt-get autoclean && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment