mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 00:48:38 +00:00
docker: clean apt cache after installing, for smaller images
This commit is contained in:
parent
360696cff8
commit
8a64c7c926
@ -1,4 +1,5 @@
|
|||||||
FROM debian:bookworm
|
FROM debian:bookworm
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||||
apt-get install -qyy golang-go qtbase5-dev
|
apt-get install -qyy golang-go qtbase5-dev && \
|
||||||
|
apt-get clean
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
FROM debian:bookworm
|
FROM debian:bookworm
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||||
apt-get install -qyy gnupg2 golang-go ca-certificates
|
apt-get install -qyy gnupg2 golang-go ca-certificates && \
|
||||||
|
apt-get clean
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
RUN DEBIAN_FRONTEND=noninteractive \
|
||||||
echo "deb https://pkg.mxe.cc/repos/apt buster main" >/etc/apt/sources.list.d/mxeapt.list && \
|
echo "deb https://pkg.mxe.cc/repos/apt buster main" >/etc/apt/sources.list.d/mxeapt.list && \
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
FROM debian:bookworm
|
FROM debian:bookworm
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||||
apt-get install -qyy gnupg2 golang-go ca-certificates
|
apt-get install -qyy gnupg2 golang-go ca-certificates && \
|
||||||
|
apt-get clean
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
RUN DEBIAN_FRONTEND=noninteractive \
|
||||||
echo "deb https://pkg.mxe.cc/repos/apt buster main" >/etc/apt/sources.list.d/mxeapt.list && \
|
echo "deb https://pkg.mxe.cc/repos/apt buster main" >/etc/apt/sources.list.d/mxeapt.list && \
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
FROM golang:1.23-bookworm
|
FROM golang:1.23-bookworm
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||||
apt-get install -qyy gnupg2 ca-certificates
|
apt-get install -qyy gnupg2 ca-certificates && \
|
||||||
|
apt-get clean
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
RUN DEBIAN_FRONTEND=noninteractive \
|
||||||
echo "deb https://pkg.mxe.cc/repos/apt buster main" >/etc/apt/sources.list.d/mxeapt.list && \
|
echo "deb https://pkg.mxe.cc/repos/apt buster main" >/etc/apt/sources.list.d/mxeapt.list && \
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
FROM golang:1.23-bookworm
|
FROM golang:1.23-bookworm
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||||
apt-get install -qyy gnupg2 ca-certificates
|
apt-get install -qyy gnupg2 ca-certificates && \
|
||||||
|
apt-get clean
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
RUN DEBIAN_FRONTEND=noninteractive \
|
||||||
echo "deb https://pkg.mxe.cc/repos/apt buster main" >/etc/apt/sources.list.d/mxeapt.list && \
|
echo "deb https://pkg.mxe.cc/repos/apt buster main" >/etc/apt/sources.list.d/mxeapt.list && \
|
||||||
|
Loading…
Reference in New Issue
Block a user