Skip to content

Commit

Permalink
place URL for kdb+ download near sha256 argument
Browse files Browse the repository at this point in the history
  • Loading branch information
jimdigriz committed Jan 4, 2019
1 parent 3ac26e5 commit f143357
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ FROM base

ARG VCS_REF=dev
ARG BUILD_DATE=dev
ARG L64_URL=https://cl.ly/2r1v1v3h0l41/download/l64.zip
ARG L64_SHA256=28c26f796a7fa9267a3061598fe0e1e34208b4deb5932db42adc78f9d2a74481

LABEL org.label-schema.schema-version="1.0" \
Expand Down Expand Up @@ -62,11 +63,11 @@ ENV QHOME=/opt/kx/q
ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/conda/lib

RUN mkdir -p $QHOME
RUN curl -o $QHOME/l64.zip -L https://cl.ly/2r1v1v3h0l41/download/l64.zip \
&& [ "$L64_SHA256" = "$(sha256sum $QHOME/l64.zip | cut -b1-64)" ] \
&& unzip -d $QHOME $QHOME/l64.zip \
&& rm $QHOME/l64.zip \
&& apt-get -yy --option=Dpkg::options::=--force-unsafe-io purge unzip
RUN curl -f -o /tmp/l64.zip -L $L64_URL \
&& [ "$L64_SHA256" = "$(sha256sum /tmp/l64.zip | cut -b1-64)" ] \
&& unzip -d $QHOME /tmp/l64.zip \
&& rm /tmp/l64.zip \
&& apt-get -yy --option=Dpkg::options::=--force-unsafe-io purge unzip
COPY docker/q.wrapper /usr/local/bin/q
COPY docker/kc.lic.py /opt/kx/

Expand Down

0 comments on commit f143357

Please sign in to comment.