diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-12-21 22:30:07 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-12-21 22:30:07 +0100 |
| commit | b9ef0c163b2a1ce7234681182df3a0589990f578 (patch) | |
| tree | ed2f365a099449ee0c2e90c8100882140cedc8bf /Bison | |
| parent | c03390856039b1a6d741e207f9e3bbde612893f3 (diff) | |
Add Bison-3.8.2
Diffstat (limited to 'Bison')
| -rw-r--r-- | Bison/3.8.2/Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Bison/3.8.2/Dockerfile b/Bison/3.8.2/Dockerfile new file mode 100644 index 0000000..ca0e9d7 --- /dev/null +++ b/Bison/3.8.2/Dockerfile @@ -0,0 +1,19 @@ +FROM alpine +RUN apk update && apk add \ + m4 \ + make \ + gcc \ + musl-dev \ + wget +RUN wget https://ftp.gnu.org/gnu/bison/bison-3.8.2.tar.gz +RUN tar -xf bison-3.8.2.tar.gz +WORKDIR /bison-3.8.2 +ARG PREFIX=/opt/spm/bison-3.8.2 +RUN ./configure \ + --prefix=$PREFIX \ + --disable-rpath \ + --enable-relocatable \ + --disable-nls \ + CFLAGS='-ffunction-sections -fdata-sections -Os' +RUN make -j$(nproc --all) +RUN make install |
