• Joined on 2025-01-01

docker-image-flutter (0.0.1)

Published 2025-01-21 23:18:35 +07:00 by ebolo

Installation

docker pull pikachu-gitea.duydao.org/ebolo/docker-image-flutter:0.0.1
sha256:2806e746250218463922778ceae429413cfe34679ba9da77d012227ef5565dc3

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:765dfd09ec2ac4870c8b3efd6ef4a994f99695c574d546d7a9a0e69bbb970b03 in /
CMD ["/bin/bash"]
USER root
ENV DEBIAN_FRONTEND=noninteractive
COPY ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources # buildkit
RUN /bin/sh -c echo 'Acquire::https::Verify-Peer "false";' > /etc/apt/apt.conf.d/99verify-peer.conf # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends zsh ca-certificates curl wget git nano iputils-ping openssh-client net-tools jq lsd locales sudo unzip xz-utils zip libglu1-mesa && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c locale-gen en_US.UTF-8 # buildkit
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
RUN /bin/sh -c userdel -r ubuntu && useradd developer --create-home --shell=/bin/zsh --uid=1000 --user-group && echo "developer ALL=(ALL) NOPASSWD:ALL" >>/etc/sudoers.d/nopasswd # buildkit
USER developer
RUN /bin/sh -c cd /home/developer && wget -q https://github.com/containerbase/flutter-prebuild/releases/download/3.27.2/flutter-3.27.2-aarch64.tar.xz && tar xf flutter-3.27.2-aarch64.tar.xz && mv 3.27.2 flutter&& rm flutter-3.27.2-aarch64.tar.xz # buildkit
ENV PATH=/home/developer/flutter/bin:/home/developer/.pub-cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV TERM=xterm
RUN /bin/sh -c sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended && curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh && curl -fsSL https://starship.rs/install.sh | sh -s -- -y && echo 'export ZPLUG_HOME=/home/developer/.zplug' | tee -a ~/.zshrc && echo 'source $ZPLUG_HOME/init.zsh' | tee -a ~/.zshrc && echo 'zplug "mafredri/zsh-async", from:github' | tee -a ~/.zshrc && echo 'zplug "zsh-users/zsh-autosuggestions", as:plugin, defer:2' | tee -a ~/.zshrc && echo 'zplug "zdharma/fast-syntax-highlighting", as:plugin, defer:2' | tee -a ~/.zshrc && echo 'zplug load' | tee -a ~/.zshrc && echo 'if ! zplug check --verbose; then' | tee -a ~/.zshrc && echo ' printf "Install? [y/N]: "' | tee -a ~/.zshrc && echo ' if read -q; then' | tee -a ~/.zshrc && echo ' echo; zplug install' | tee -a ~/.zshrc && echo ' fi' | tee -a ~/.zshrc && echo 'fi' | tee -a ~/.zshrc && echo 'alias ls="lsd"' | tee -a ~/.zshrc && echo 'eval "$(starship init zsh)"' | tee -a ~/.zshrc && mkdir /home/developer/code # buildkit
WORKDIR /home/developer/

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2025-01-21 23:18:35 +07:00
1
OCI / Docker
linux/arm64/v8
486 MiB
Versions (5) View all
56bab8c 2025-01-21
0.0.1 2025-01-21
0.0 2025-01-21
0 2025-01-21
latest 2025-01-21