Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TanyaStere42 authored Mar 13, 2024
1 parent c1ed0cc commit a385ced
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion devops/wildbook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ RUN echo "ARGS AZURE_DEVOPS_CACHEBUSTER=${AZURE_DEVOPS_CACHEBUSTER}"

# Install apt packages
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y imagemagick git maven && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y imagemagick && rm -rf /var/lib/apt/lists/*

FROM openjdk:8u171-jdk as wb-test
# The arg recieves the value from the build script --build-args, but swapping for an
# env allows it to keep this value after the current container is built.
ARG branch=master
ENV branch=${branch}

# Install apt packages
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y git maven && rm -rf /var/lib/apt/lists/*

# Create Wildbook source location
RUN mkdir -p /wildbook && cd wildbook && git clone https://github.com/TanyaStere42/Wildbook.git

Expand Down

0 comments on commit a385ced

Please sign in to comment.