Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(flutter): flutter apt-get install & update as single command #356

Merged
merged 5 commits into from
Jan 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions earthly/flutter/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,27 @@

# flutter-base installs required tools and packages.
flutter-base:
FROM debian:bookworm-20240513-slim

Check failure on line 40 in earthly/flutter/Earthfile

View workflow job for this annotation

GitHub Actions / ci / test / ./earthly/flutter+test-flutter-base

Error

The command RUN google-chrome --version did not complete successfully. Exit code 127

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update --fix-missing
RUN apt-get install -y apt-utils git curl gzip unzip bzip2 bash jq gpg lcov tar wget xz-utils
# Update and install as same command so if either fails, the whole step fails and is not cached.
RUN apt-get update --fix-missing && \
apt-get install -y \
apt-utils \
git \
curl \
gzip \
unzip \
bzip2 \
bash \
jq \
gpg \
lcov \
tar \
wget \
xz-utils \
&& rm -rf /var/lib/apt/lists/*

DO +INSTALL_FLUTTER

Expand Down
Loading