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

Bash #80

Open
skyzyx opened this issue May 1, 2024 · 0 comments
Open

Bash #80

skyzyx opened this issue May 1, 2024 · 0 comments
Assignees
Labels
c/cpp Relates to code written in C/C++. new package Relates to adding a new package.

Comments

@skyzyx
Copy link
Member

skyzyx commented May 1, 2024

# syntax=docker/dockerfile:1
FROM --platform=$TARGETPLATFORM base-compiler AS bash
RUN mkdir -p /tmp/bash

WORKDIR /tmp/bash
RUN wget -q http://archive.ubuntu.com/ubuntu/pool/main/b/bash/bash_5.2.15-2ubuntu1.dsc \
            http://archive.ubuntu.com/ubuntu/pool/main/b/bash/bash_5.2.15.orig.tar.gz \
            http://archive.ubuntu.com/ubuntu/pool/main/b/bash/bash_5.2.15-2ubuntu1.debian.tar.xz
RUN dpkg-source -x bash_5.2.15-2ubuntu1.dsc

WORKDIR /tmp/bash/bash-5.2.15
RUN apt-get -y install --no-install-recommends \
    autoconf \
    autotools-dev \
    bison \
    debhelper \
    gettext \
    ghostscript \
    glibc-source \
    glibc-tools \
    libncurses5-dev \
    libreadline-dev \
    locales \
    man2html-base \
    sharutils \
    texi2html \
    texinfo \
    texlive-fonts-recommended \
    texlive-latex-base \
    time \
    ;
RUN dpkg-checkbuilddeps
RUN ./configure \
        --enable-alias \
        --enable-arith-for-command \
        --enable-array-variables \
        --enable-brace-expansion \
        --enable-casemod-attributes \
        --enable-casemod-expansions \
        --enable-command-timing \
        --enable-cond-command \
        --enable-cond-regexp \
        --enable-coprocesses \
        --enable-dev-fd-stat-broken \
        --enable-direxpand-default \
        --enable-directory-stack \
        --enable-dparen-arithmetic \
        --enable-extended-glob \
        --enable-extended-glob-default \
        --enable-function-import \
        --enable-glob-asciiranges-default \
        --enable-help-builtin \
        --enable-history \
        --enable-job-control \
        --enable-multibyte \
        --enable-net-redirections \
        --enable-process-substitution \
        --enable-progcomp \
        --enable-prompt-string-decoding \
        --enable-readline \
        --enable-restricted \
        --enable-select \
        --enable-separate-helpfiles \
        --enable-single-help-strings \
        --enable-translatable-strings \
        --enable-xpg-echo-default \
        --enable-mem-scramble \
        --enable-threads=posix \
    && \
    make -j$(nproc) && \
    make install \
    ;
@skyzyx skyzyx added new package Relates to adding a new package. c/cpp Relates to code written in C/C++. labels May 1, 2024
@skyzyx skyzyx self-assigned this May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/cpp Relates to code written in C/C++. new package Relates to adding a new package.
Projects
None yet
Development

No branches or pull requests

1 participant