Skip to content

Commit

Permalink
Base docker image on crops/poky:ubuntu20.04
Browse files Browse the repository at this point in the history
Updating due to a segmentation fault in mkfs.ext4 caused by the patchelf in ubuntu 18.04.

Freescale/meta-freescale#1593
NixOS/patchelf#492 (comment)
conda-forge/admin-requests#746
  • Loading branch information
mattiasbus committed Jul 14, 2023
1 parent a29a330 commit f9fe640
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/bid
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

set -e

CONTAINERNAME="hm_platform_builder_next"
CONTAINERNAME="hm_platform_builder-crops-ubuntu-20.04"
build_container()
{
if [[ -z $1 ]]; then echo >&2 "Usage: build_container container-name"; return 1; fi
# --no-cache can be used as an argument to docker build
docker build -t "$1" - <<DockerFileHere
from crops/poky
docker build -t "$1" - <<DockerFileHere
from crops/poky:ubuntu-20.04
USER root
RUN apt-get update && \apt-get install -y --no-install-recommends libncurses-dev rsync bc libgnutls28-dev zstd liblz4-tool mtools parted dosfstools u-boot-tools
RUN apt-get update && \apt-get install -y --no-install-recommends libncurses-dev rsync bc libgnutls28-dev zstd liblz4-tool mtools parted dosfstools u-boot-tools neovim
RUN wget http://commondatastorage.googleapis.com/git-repo-downloads/repo
RUN mv repo /usr/bin/
RUN chmod a+x /usr/bin/repo
Expand Down

0 comments on commit f9fe640

Please sign in to comment.