Forum | Documentation | Website | Blog

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

Update Dockerfile

parent 0f216efa
No related merge requests found
...@@ -40,9 +40,9 @@ RUN . /etc/os-release \ ...@@ -40,9 +40,9 @@ RUN . /etc/os-release \
&& apt-get clean && apt-get clean
RUN export ARCHNAME="$(dpkg --print-architecture)" ; \ RUN export ARCHNAME="$(dpkg --print-architecture)" ; \
if [ "${ARCHNAME}" = "amd64" ] ; then \ if [ "${ARCHNAME}" = "amd64" ] ; then \
wget "${BALENA_CLI_URL}" -O balena.zip ; \ wget "${BALENA_CLI_URL}" -O balena-cli.zip ; \
mkdir -p /opt ; \ mkdir -p /opt ; \
unzip balena.zip -d /opt ; \ unzip balena-cli.zip -d /opt ; \
rm balena.zip ; \ rm balena-cli.zip ; \
echo "export PATH=\$PATH:/opt/balena-cli" >> /etc/environment ; \ echo "export PATH=\$PATH:/opt/balena-cli" >> /etc/environment ; \
fi fi
\ No newline at end of file
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