Improve formatting for common Containerfile parts

This commit is contained in:
Alex Palaistras 2024-01-02 15:39:54 +00:00
parent 524384051d
commit f7148a0771
4 changed files with 8 additions and 8 deletions

View File

@ -11,8 +11,8 @@ RUN git clone --branch ${VERSION} https://github.com/louiz/biboumi.git /src && \
make && make install DESTDIR=/build make && make install DESTDIR=/build
FROM docker.io/debian:bookworm-slim@sha256:f80c45482c8d147da87613cb6878a7238b8642bcc24fc11bad78c7bec726f340 FROM docker.io/debian:bookworm-slim@sha256:f80c45482c8d147da87613cb6878a7238b8642bcc24fc11bad78c7bec726f340
RUN apt-get update -y && apt-get upgrade -y && \ RUN apt-get update -y && apt-get upgrade -y && apt-get install -y --no-install-recommends \
apt-get install -y --no-install-recommends ca-certificates gettext gosu ca-certificates gettext gosu
RUN apt-get update -y && apt-get install -y --no-install-recommends \ RUN apt-get update -y && apt-get install -y --no-install-recommends \
libexpat1 libidn12 libuuid1 libsqlite3-0 libudns0 libbotan-2-19 libexpat1 libidn12 libuuid1 libsqlite3-0 libudns0 libbotan-2-19

View File

@ -8,8 +8,8 @@ RUN git clone --branch ${VERSION} --depth=1 https://github.com/coturn/coturn.git
make && make install DESTDIR=/build make && make install DESTDIR=/build
FROM docker.io/debian:bookworm-slim@sha256:f80c45482c8d147da87613cb6878a7238b8642bcc24fc11bad78c7bec726f340 FROM docker.io/debian:bookworm-slim@sha256:f80c45482c8d147da87613cb6878a7238b8642bcc24fc11bad78c7bec726f340
RUN apt-get update -y && apt-get upgrade -y && \ RUN apt-get update -y && apt-get upgrade -y && apt-get install -y --no-install-recommends \
apt-get install -y --no-install-recommends ca-certificates gettext gosu ca-certificates gettext gosu
RUN apt-get update -y && apt-get install -y --no-install-recommends \ RUN apt-get update -y && apt-get install -y --no-install-recommends \
libevent-2.1 libevent-core-2.1 libevent-extra-2.1 libevent-openssl-2.1 libevent-pthreads-2.1 \ libevent-2.1 libevent-core-2.1 libevent-extra-2.1 libevent-openssl-2.1 libevent-pthreads-2.1 \

View File

@ -1,6 +1,6 @@
FROM docker.io/debian:bookworm-slim@sha256:f80c45482c8d147da87613cb6878a7238b8642bcc24fc11bad78c7bec726f340 FROM docker.io/debian:bookworm-slim@sha256:f80c45482c8d147da87613cb6878a7238b8642bcc24fc11bad78c7bec726f340
RUN apt-get update -y && apt-get upgrade -y && \ RUN apt-get update -y && apt-get upgrade -y && apt-get install -y --no-install-recommends \
apt-get install -y --no-install-recommends ca-certificates gettext gosu ca-certificates gettext gosu
RUN apt-get update -y && apt-get install -y --no-install-recommends \ RUN apt-get update -y && apt-get install -y --no-install-recommends \
curl netcat-traditional curl netcat-traditional

View File

@ -8,8 +8,8 @@ RUN tar --no-same-owner -xvzf /src.tar.gz && \
mkdir -p /build/usr/share/gotosocial && cp -R /src/web /build/usr/share/gotosocial/web mkdir -p /build/usr/share/gotosocial && cp -R /src/web /build/usr/share/gotosocial/web
FROM docker.io/debian:bookworm-slim@sha256:f80c45482c8d147da87613cb6878a7238b8642bcc24fc11bad78c7bec726f340 FROM docker.io/debian:bookworm-slim@sha256:f80c45482c8d147da87613cb6878a7238b8642bcc24fc11bad78c7bec726f340
RUN apt-get update -y && apt-get upgrade -y && \ RUN apt-get update -y && apt-get upgrade -y && apt-get install -y --no-install-recommends \
apt-get install -y --no-install-recommends ca-certificates gettext gosu ca-certificates gettext gosu
RUN apt-get update -y && apt-get install -y --no-install-recommends curl RUN apt-get update -y && apt-get install -y --no-install-recommends curl
RUN adduser --system --group --uid 10000 --home /var/lib/gotosocial gotosocial RUN adduser --system --group --uid 10000 --home /var/lib/gotosocial gotosocial