Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit ff779764 authored by Jason Kridner's avatar Jason Kridner
Browse files

Update Dockerfile

parent edcdb8c7
No related merge requests found
...@@ -3,6 +3,7 @@ ARG TARGETARCH ...@@ -3,6 +3,7 @@ ARG TARGETARCH
FROM ${FRM} as build FROM ${FRM} as build
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV BALENA_CLI_URL=https://dl.beagle.cc/balena-cli-v18.2.34-linux-x64-standalone.zip
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y apt-utils ca-certificates \ && apt-get install -y apt-utils ca-certificates \
...@@ -37,8 +38,8 @@ RUN . /etc/os-release \ ...@@ -37,8 +38,8 @@ RUN . /etc/os-release \
file cpio unzip bc rsync bison flex device-tree-compiler python3-setuptools swig python3-dev ccache \ file cpio unzip bc rsync bison flex device-tree-compiler python3-setuptools swig python3-dev ccache \
&& cp -v /etc/bbb.io/templates/apt/sbuild.list /etc/apt/sources.list.d/beagle.list \ && cp -v /etc/bbb.io/templates/apt/sbuild.list /etc/apt/sources.list.d/beagle.list \
&& apt-get clean && apt-get clean
RUN if [ "$ARCHNAME" = "amd64" ]; then \ RUN if [ "${ARCHNAME}" = "amd64" ]; then \
wget "$BALENA_CLI_URL" -O balena-cli.zip \ wget "${BALENA_CLI_URL}" -O balena-cli.zip \
mkdir -p /opt ; \ mkdir -p /opt ; \
unzip balena-cli.zip -d /opt ; \ unzip balena-cli.zip -d /opt ; \
rm balena-cli.zip ; \ rm balena-cli.zip ; \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment