mirror of https://github.com/bebbo/amiga-gcc.git
Remove unnecessary repository sections and adjust install target
This commit is contained in:
parent
ed178ea9b5
commit
1503302f39
16
Dockerfile
16
Dockerfile
|
@ -1,11 +1,11 @@
|
||||||
FROM debian:10.4-slim AS builder
|
FROM debian:10.4-slim AS builder
|
||||||
|
|
||||||
RUN echo deb http://deb.debian.org/debian/ buster main non-free contrib >/etc/apt/sources.list &&\
|
RUN echo deb http://deb.debian.org/debian/ buster main >/etc/apt/sources.list &&\
|
||||||
echo deb-src http://deb.debian.org/debian/ buster main non-free contrib >>/etc/apt/sources.list &&\
|
echo deb-src http://deb.debian.org/debian/ buster main >>/etc/apt/sources.list &&\
|
||||||
echo deb http://security.debian.org/debian-security buster/updates main contrib non-free >>/etc/apt/sources.list &&\
|
echo deb http://security.debian.org/debian-security buster/updates main >>/etc/apt/sources.list &&\
|
||||||
echo deb-src http://security.debian.org/debian-security buster/updates main contrib non-free >>/etc/apt/sources.list &&\
|
echo deb-src http://security.debian.org/debian-security buster/updates main >>/etc/apt/sources.list &&\
|
||||||
echo deb http://deb.debian.org/debian/ buster-updates main contrib non-free >>/etc/apt/sources.list &&\
|
echo deb http://deb.debian.org/debian/ buster-updates main >>/etc/apt/sources.list &&\
|
||||||
echo deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free >>/etc/apt/sources.list
|
echo deb-src http://deb.debian.org/debian/ buster-updates main >>/etc/apt/sources.list
|
||||||
|
|
||||||
RUN apt-get -y update &&\
|
RUN apt-get -y update &&\
|
||||||
apt-get -y install make wget git gcc g++ lhasa libgmp-dev libmpfr-dev libmpc-dev flex bison gettext texinfo ncurses-dev autoconf rsync git lhasa
|
apt-get -y install make wget git gcc g++ lhasa libgmp-dev libmpfr-dev libmpc-dev flex bison gettext texinfo ncurses-dev autoconf rsync git lhasa
|
||||||
|
@ -21,4 +21,6 @@ FROM debian:10.4-slim
|
||||||
|
|
||||||
COPY --from=builder /opt/amiga /opt/amiga
|
COPY --from=builder /opt/amiga /opt/amiga
|
||||||
|
|
||||||
RUN apt-get -y install make git
|
RUN echo deb http://deb.debian.org/debian/ buster main >/etc/apt/sources.list &&\
|
||||||
|
apt-get -y update &&\
|
||||||
|
apt-get -y install make git
|
||||||
|
|
Loading…
Reference in New Issue