Skip to content

Commit

Permalink
Create symlink for mkdir in /usr/bin
Browse files Browse the repository at this point in the history
This works around this issue [1] on Debian aarch64.

[1] chef/omnibus-toolchain#143
  • Loading branch information
ramereth committed Jun 6, 2020
1 parent 9f90f09 commit b097c50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions omnibus-debian/Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ RUN sed -i -e 's/deb.debian.org/debian.osuosl.org/g' /etc/apt/sources.list && \
chef-solo --chef-license accept -o 'recipe[omnibus]' -j /tmp/attr.json && \
rm -rf /tmp/attr.json && \
sed -i -e 's/^env.*//' /home/omnibus/load-omnibus-toolchain.sh && \
# https://github.com/chef/omnibus-toolchain/issues/143
ln -s /bin/mkdir /usr/bin/mkdir && \
apt-get -y remove chef && rm -rf /var/chef/ /opt/chef/embedded/ /etc/chef && \
apt-get clean && rm -rf /var/lib/apt/lists/*

0 comments on commit b097c50

Please sign in to comment.