Sign inSign up

manujbhatia/egads

By manujbhatia

•Updated over 9 years ago

Docker image for https://github.com/yahoo/egads

Image
0

212

manujbhatia/egads repository overview

⁠Dockerfile

FROM manujbhatia/maven:3.5.0-ibmjava-8 AS build

WORKDIR /work

RUN apt-get update \
    && apt-get install -y --no-install-recommends \
        ca-certificates \
        curl \
        unzip \
    && rm -rf /var/lib/apt/lists/*

ADD . /work/

RUN ./bootstrap.sh \
    && unzip .cache/egads-master.zip

WORKDIR /work/egads-master

RUN mvn clean compile assembly:single

RUN mkdir -p /out \
    && cp -p target/egads-*-jar-with-dependencies.jar /out/

FROM ibmjava:8-sdk

WORKDIR /work

COPY --from=build /out/ /work/lib/

⁠bootstrap.sh

#!/bin/sh -xe

## Download the egads source
mkdir -p .cache
if [ ! -e .cache/egads-master.zip ]; then
    curl -L https://github.com/yahoo/egads/archive/master.zip -o .cache/egads-master.zip
fi

Tag summary

Content type

Image

Digest

Size

195.8 MB

Last updated

over 9 years ago

docker pull manujbhatia/egads