Skip to content

Commit

Permalink
Dockerfile: cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid authored Jul 14, 2021
1 parent 9171ff8 commit 3fb3063
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ FROM ${img}
ARG img

ENV HOMEBREW_FORCE_HOMEBREW_ON_LINUX=1
ENV HOMEBREW_ON_DEBIAN7=1
ENV HOMEBREW_DEVELOPER=1
ENV HOMEBREW_CURL_PATH=/usr/bin/curl
ENV HOMEBREW_GIT_PATH=/usr/bin/git
ENV HOMEBREW_NO_AUTO_UPDATE=1

# Needs to run as root for GitHub Actions
Expand All @@ -16,9 +13,4 @@ USER root

# Don't want to pin package versions
# hadolint ignore=DL3008
RUN apt-get update && \
apt-get install -y --no-install-recommends \
bzip2 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
mkdir -p /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-portable
RUN mkdir -p /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-portable

0 comments on commit 3fb3063

Please sign in to comment.