Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Explicitly tell binrc where to install
Browse files Browse the repository at this point in the history
  • Loading branch information
brycekahle committed Feb 7, 2018
1 parent fbd3070 commit 40adb61
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Expand Up @@ -294,13 +294,11 @@ RUN mkdir /opt/binrc && cd /opt/binrc && \
curl -sL https://github.com/netlify/binrc/releases/download/v${BINRC_VERSION}/binrc_${BINRC_VERSION}_Linux-64bit.tar.gz | tar zxvf - && \
ln -s /opt/binrc/binrc_${BINRC_VERSION}_linux_amd64/binrc_${BINRC_VERSION}_linux_amd64 /usr/local/bin/binrc

USER buildbot
RUN binrc install spf13/hugo 0.17 | xargs -n 1 -I{} ln -s {} /usr/local/bin/hugo_0.17 && \
binrc install spf13/hugo 0.18 | xargs -n 1 -I{} ln -s {} /usr/local/bin/hugo_0.18 && \
binrc install spf13/hugo 0.19 | xargs -n 1 -I{} ln -s {} /usr/local/bin/hugo_0.19 && \
binrc install spf13/hugo 0.20 | xargs -n 1 -I{} ln -s {} /usr/local/bin/hugo_0.20 && \
RUN binrc install -cache-store-path /opt/buildhome/.binrc spf13/hugo 0.17 | xargs -n 1 -I{} ln -s {} /usr/local/bin/hugo_0.17 && \
binrc install -cache-store-path /opt/buildhome/.binrc spf13/hugo 0.18 | xargs -n 1 -I{} ln -s {} /usr/local/bin/hugo_0.18 && \
binrc install -cache-store-path /opt/buildhome/.binrc spf13/hugo 0.19 | xargs -n 1 -I{} ln -s {} /usr/local/bin/hugo_0.19 && \
binrc install -cache-store-path /opt/buildhome/.binrc spf13/hugo 0.20 | xargs -n 1 -I{} ln -s {} /usr/local/bin/hugo_0.20 && \
ln -s /usr/local/bin/hugo_0.17 /usr/local/bin/hugo
USER root

################################################################################
#
Expand Down

0 comments on commit 40adb61

Please sign in to comment.