shadowfu
  • Joined on 2023-09-21

flutter_docker (3.44.5)

Published 2026-07-08 22:23:36 -07:00 by shadowfu

Installation

docker pull git.mcdole.org/shadowfu/flutter_docker:3.44.5
sha256:6d274b21a26639da0b033c0447aa281b3ec0f50449944aa5589d049a91076812

Images

Digest OS / Arch Size
6d75ea13aa linux/amd64 972 MiB

Image Layers ( linux/amd64)

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:8c609c85109d07bf47cf268a175b3be8bbe34fc0c41d15d99b090d099f4dc837 in /
CMD ["/bin/bash"]
ARG FLUTTER_VERSION=3.44.5
ARG TARGETARCH=amd64
ENV TZ=America/Los_Angeles DEBIAN_FRONTEND=noninteractive FLUTTER_ROOT=/opt/flutter PATH=/opt/flutter/bin:/home/coder/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 TERM=xterm-256color COLORTERM=truecolor SHELL=/usr/bin/zsh
RUN |2 FLUTTER_VERSION=3.44.5 TARGETARCH=amd64 /bin/sh -c apt-get update -o APT::Sandbox::User=root && apt-get install -y --no-install-recommends curl ca-certificates xz-utils git unzip && rm -rf /var/lib/apt/lists/* # buildkit
RUN |2 FLUTTER_VERSION=3.44.5 TARGETARCH=amd64 /bin/sh -c set -ex; (userdel -r ubuntu 2>/dev/null || true); groupadd -g 1000 coder; useradd -u 1000 -g 1000 -m coder; mkdir -p /app /opt/flutter /home/linuxbrew/.linuxbrew; chown -R coder:coder /app /opt /home/linuxbrew; # buildkit
USER coder
RUN |2 FLUTTER_VERSION=3.44.5 TARGETARCH=amd64 /bin/sh -c set -ex; export PATH="/opt/flutter/bin:${PATH}"; ARCH="${TARGETARCH:-$(dpkg --print-architecture)}"; EXCLUDE_CACHE=""; if [ "$ARCH" = "arm64" ] || [ "$ARCH" = "aarch64" ]; then EXCLUDE_CACHE="--exclude=flutter/bin/cache"; fi; curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${FLUTTER_VERSION}-stable.tar.xz" | tar -xJ --exclude=.pub-preload-cache $EXCLUDE_CACHE --no-same-owner -C /opt; flutter config --enable-web --no-enable-linux-desktop --no-enable-macos-desktop --no-enable-windows-desktop --no-enable-android --no-enable-ios --no-enable-fuchsia; flutter precache --web; rm -rf /opt/flutter/bin/cache/artifacts/engine; rm -rf /home/coder/.pub-cache/hosted/pub.dev/flutter_gallery_assets*; rm -rf /home/coder/.pub-cache/hosted/pub.dev/googleapis*; /opt/flutter/bin/flutter doctor -v; flutter --version ; flutter --enable-analytics; dart --enable-analytics; # buildkit
ENV PATH=/opt/flutter/bin:/opt/flutter/bin:/home/coder/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
USER root
ARG CACHE_BUSTER=1
RUN |1 CACHE_BUSTER=1 /bin/sh -c set -eux; echo "APT::Sandbox::User \"root\";" > /etc/apt/apt.conf.d/99sandbox; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl dnsutils dos2unix openssh-client unzip tmux byobu vim sudo xz-utils tzdata locales jq ripgrep fd-find fzf bat btop zsh build-essential procps file wget less rsync software-properties-common lrzsz; add-apt-repository ppa:trzsz/ppa -y; add-apt-repository ppa:git-core/ppa -y; apt-get update; apt-get install -y trzsz git; curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg; chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg; echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null; apt-get update && apt-get install -y gh; ARCH=$(dpkg --print-architecture); wget -qO /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_${ARCH}"; chmod a+x /usr/local/bin/yq; locale-gen en_US.UTF-8; ln -s $(which fdfind) /usr/local/bin/fd; ln -s $(which batcat) /usr/local/bin/bat; ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone; rm -f /etc/apt/apt.conf.d/99sandbox; rm -rf /var/lib/apt/lists/*; echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/coder; # buildkit
COPY update_skills.sh /usr/local/bin/update_skills.sh # buildkit
RUN |1 CACHE_BUSTER=1 /bin/sh -c dos2unix /usr/local/bin/update_skills.sh && chmod +x /usr/local/bin/update_skills.sh && chmod +x /usr/local/bin/update_skills.sh # buildkit
USER coder
RUN |1 CACHE_BUSTER=1 /bin/sh -c sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended # buildkit
ENV PATH=/home/coder/.pub-cache/bin:/opt/flutter/bin:/opt/flutter/bin:/home/coder/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |1 CACHE_BUSTER=1 /bin/sh -c curl -fsSL https://antigravity.google/cli/install.sh | bash # buildkit
RUN |1 CACHE_BUSTER=1 /bin/sh -c mkdir -p /home/coder/.config/byobu && touch /home/coder/.config/byobu/.welcome-displayed && { echo "unbind-key -n C-a"; echo "set -g prefix C-a"; echo "set -g prefix2 F12"; echo "bind a send-prefix"; echo "# Ensure tmux handles control modifiers correctly for xterm"; echo "set-window-option -g xterm-keys on"; echo "# Clear any existing bindings for these keys"; echo "unbind-key -n C-Left"; echo "unbind-key -n C-Right"; echo "# Map Ctrl + Left/Right to switch bottom tabs (windows)"; echo "bind-key -n C-Left select-window -t :-"; echo "bind-key -n C-Right select-window -t :+"; echo "set -g mouse on"; } > /home/coder/.config/byobu/keybindings.tmux && { echo "set -g default-terminal \"tmux-256color\""; echo "set -ag terminal-overrides \",xterm-256color:RGB\""; echo "set -g default-shell /usr/bin/zsh"; echo "# Automatically fix named volume permissions on startup"; echo 'run-shell "sudo mkdir -p /app/.dart_tool && sudo chown -R coder:coder /app/.dart_tool"'; echo 'run-shell "sudo mkdir -p /app/build && sudo chown -R coder:coder /app/build"'; echo 'run-shell "sudo mkdir -p /home/coder/.gemini && sudo chown -R coder:coder /home/coder/.gemini"'; } > /home/coder/.config/byobu/profile.tmux && touch /home/coder/.zsh_history && { echo ": 1000000000:0;dart pub global activate melos; melos pub-get"; echo ": 1000000000:0;flutter pub get"; echo ": 1000000000:0;flutter analyze ."; echo ": 1000000000:0;dart pub get"; echo ": 1000000000:0;dart format ."; echo ": 1000000000:0;dart analyze ."; } >> /home/coder/.zsh_history && touch /home/coder/.zshrc && { echo 'alias agyolo="agy --dangerously-skip-permissions"'; } >> /home/coder/.zshrc # buildkit
RUN |1 CACHE_BUSTER=1 /bin/sh -c mkdir -p /home/coder/.vim/pack/dart-lang/start && git clone https://github.com/dart-lang/dart-vim-plugin /home/coder/.vim/pack/dart-lang/start/dart-vim-plugin # buildkit
RUN |1 CACHE_BUSTER=1 /bin/sh -c git config --global --add safe.directory /app && git config --global core.editor vim && git config --global pull.rebase true && git config --global worktree.useRelativePaths true # buildkit
WORKDIR /app
ENTRYPOINT ["/usr/bin/byobu"]

Labels

Key Value
org.opencontainers.image.version 24.04
Details
Container
2026-07-08 22:23:36 -07:00
0
OCI / Docker
Versions (5) View all
stable 2026-07-09
3.44.6 2026-07-09
latest 2026-07-09
3.44.5 2026-07-08
3.44.4 2026-06-26