mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 09:04:27 +01:00
Merge pull request #519 from bensuperpc/update_bullseye
Update images to debian bullseye
This commit is contained in:
commit
37a75535ab
@ -1,4 +1,6 @@
|
|||||||
FROM debian:buster-slim
|
ARG DOCKER_IMAGE=debian:bullseye-slim
|
||||||
|
FROM $DOCKER_IMAGE
|
||||||
|
|
||||||
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
||||||
|
|
||||||
#include "common.debian"
|
#include "common.debian"
|
||||||
|
@ -36,10 +36,7 @@ RUN \
|
|||||||
xz-utils \
|
xz-utils \
|
||||||
zip \
|
zip \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
# python-is-python3 \
|
python-is-python3 \
|
||||||
&& apt-get clean autoclean --yes \
|
&& apt-get clean autoclean --yes \
|
||||||
&& apt-get autoremove --yes \
|
&& apt-get autoremove --yes \
|
||||||
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
|
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
|
||||||
|
|
||||||
RUN ln -s /usr/bin/python3 /usr/bin/python \
|
|
||||||
&& ln -s /usr/bin/pip3 /usr/bin/pip
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
FROM dockcross/base:latest
|
FROM dockcross/base:latest
|
||||||
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
||||||
# flang
|
# flang
|
||||||
RUN echo "deb http://apt.llvm.org/buster/ llvm-toolchain-buster main" >> /etc/apt/sources.list \
|
RUN echo "deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye main" >> /etc/apt/sources.list \
|
||||||
&& echo "deb-src http://apt.llvm.org/buster/ llvm-toolchain-buster main" >> /etc/apt/sources.list \
|
&& echo "deb-src http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye main" >> /etc/apt/sources.list \
|
||||||
&& wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - \
|
&& wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get purge --autoremove -y gcc g++ software-properties-common \
|
&& apt-get purge --autoremove -y gcc g++ software-properties-common \
|
||||||
&& apt-get -y install clang libc++-dev libc++abi-dev clang-format clang-tidy lldb \
|
&& apt-get -y install clang libc++-dev libc++abi-dev clang-format clang-tidy lldb \
|
||||||
|
Loading…
Reference in New Issue
Block a user