mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Improve formatting for common Containerfile parts
This commit is contained in:
parent
524384051d
commit
f7148a0771
@ -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
|
||||||
|
@ -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 \
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user