debugging build stuff
This commit is contained in:
parent
199c75be27
commit
f23a45b9c0
44
Dockerfile
44
Dockerfile
|
|
@ -1,22 +1,46 @@
|
||||||
FROM ubuntu:18.04
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
RUN apt update
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt update
|
|
||||||
RUN apt install -y --no-install-recommends \
|
RUN apt-get update
|
||||||
build-essential \
|
RUN apt-get install -y --no-install-recommends \
|
||||||
libc6-dev \
|
|
||||||
wget \
|
wget \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
gcc
|
gcc
|
||||||
RUN apt clean
|
# linux-libc-dev
|
||||||
|
RUN apt-get clean
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
RUN rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /usr/local
|
WORKDIR /usr/local
|
||||||
|
|
||||||
RUN wget https://go.dev/dl/go1.22.3.linux-amd64.tar.gz
|
# RUN wget https://launchpad.net/ubuntu/+source/glibc/2.27-3ubuntu1.4/+build/20381725/+files/libc6_2.27-3ubuntu1.4_amd64.deb
|
||||||
|
# RUN wget https://launchpad.net/ubuntu/+source/glibc/2.27-3ubuntu1.4/+build/20381725/+files/libc-dev-bin_2.27-3ubuntu1.4_amd64.deb
|
||||||
|
# RUN wget https://launchpad.net/ubuntu/+source/glibc/2.27-3ubuntu1.4/+build/20381725/+files/libc6-dev_2.27-3ubuntu1.4_amd64.deb
|
||||||
|
# RUN dpkg -i libc6_2.27-3ubuntu1.4_amd64.deb
|
||||||
|
# RUN dpkg -i libc-dev-bin_2.27-3ubuntu1.4_amd64.deb
|
||||||
|
# RUN dpkg -i libc6-dev_2.27-3ubuntu1.4_amd64.deb
|
||||||
|
|
||||||
RUN tar -xzf go1.22.3.linux-amd64.tar.gz
|
# RUN wget https://go.dev/dl/go1.22.3.linux-amd64.tar.gz
|
||||||
|
# RUN tar -xzf go1.22.3.linux-amd64.tar.gz
|
||||||
|
# ENV PATH=$PATH:/usr/local/go/bin
|
||||||
|
|
||||||
ENV PATH=$PATH:/usr/local/go/bin
|
# WORKDIR /
|
||||||
|
# RUN mkdir /glibc_install
|
||||||
|
# WORKDIR /glibc_install
|
||||||
|
# RUN wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/glibc/2.27-3ubuntu1.4/glibc_2.27.orig.tar.xz
|
||||||
|
# RUN tar -xf glibc_2.27.orig.tar.xz
|
||||||
|
# WORKDIR /glibc_install/glibc-2.27
|
||||||
|
# RUN mkdir build
|
||||||
|
# WORKDIR /glibc_install/glibc-2.27/build
|
||||||
|
# RUN ../configure --prefix=/opt/glibc-2.27-3ubuntu1.4
|
||||||
|
# RUN make -j4
|
||||||
|
# RUN make install
|
||||||
|
|
||||||
|
# ENV LD_PRELOAD=/opt/glibc-2.27-3ubuntu1.4/lib/libc.so.6
|
||||||
|
|
||||||
|
# WORKDIR /
|
||||||
|
# RUN rm -rf /glibc_install
|
||||||
|
# RUN rm go1.22.3.linux-amd64.tar.gz
|
||||||
|
# RUN rm libc6-dev_2.27-3ubuntu1.4_amd64.deb
|
||||||
|
|
||||||
CMD ["tail", "-f", "/dev/null"]
|
CMD ["tail", "-f", "/dev/null"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue