From 52e701b3c263c65b187b7e7b459168decff4d414 Mon Sep 17 00:00:00 2001 From: Saba Date: Mon, 24 Jan 2022 21:54:10 -0500 Subject: [PATCH] Simplify Dockerfile by removing multibuild - Install exiftool dependency directly in the miniconda image --- Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index ccc76307..6ec26377 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,10 @@ # syntax=docker/dockerfile:1 -FROM ubuntu:18.04 AS os-dependencies +FROM continuumio/miniconda3:latest # Install system dependencies. RUN apt-get update -y && \ apt-get -y install libimage-exiftool-perl -FROM continuumio/miniconda3:4.10.3p0-alpine - -# From the previous image, copy exiftool into this image. -COPY --from=os-dependencies /usr/bin/exiftool /usr/bin/exiftool - # Add the local code to the /app directory and set it to be the working directory. # Since we mount the /app directory as a volume in docker-compose.yml, this # allows us to automatically update the code in the Docker image when it's changed.