Compare commits

...

1 Commits

Author SHA1 Message Date
0cccfd83d5 alt/golang: add package ca-certificates
alt/postgresql: add package ca-certificates
2025-06-02 13:07:10 +03:00
2 changed files with 39 additions and 0 deletions

15
org/alt/golang/Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM gitea.basealt.ru/alt/base:sisyphus
MAINTAINER alt-cloud
LABEL org.opencontainers.image.title="golang"
LABEL org.opencontainers.image.description="The Golang environment for development"
LABEL org.opencontainers.image.source="https://github.com/golang/go"
LABEL org.opencontainers.image.licenses="BSD"
LABEL org.opencontainers.image.vendor="ALT Linux Team"
RUN apt-get update && \
$([ "$(rpm --eval %_host_cpu)" = i586 ] && echo linux32) apt-get install -y golang ca-certificates && \
rm -f /var/cache/apt/archives/*.rpm \
/var/cache/apt/*.bin \
/var/lib/apt/lists/*.*

View File

@ -0,0 +1,24 @@
FROM gitea.basealt.ru/alt/base:sisyphus
MAINTAINER alt-cloud
LABEL org.opencontainers.image.title="postgresql16"
LABEL org.opencontainers.image.description="PostgreSQL rograms and libraries"
LABEL org.opencontainers.image.source="https://github.com/postgres/postgres"
LABEL org.opencontainers.image.licenses="PostgreSQL"
LABEL org.opencontainers.image.vendor="ALT Linux Team"
RUN apt-get update && \
$([ "$(rpm --eval %_host_cpu)" = i586 ] && echo linux32) apt-get install -y postgresql16 postgresql16-server ca-certificates && \
rm -f /var/cache/apt/archives/*.rpm \
/var/cache/apt/*.bin \
/var/lib/apt/lists/*.*
RUN usermod -a -G postgres postgres
RUN chown -R postgres:postgres /var/lib/pgsql
USER postgres
WORKDIR /var/lib/pgsql
EXPOSE 5432
VOLUME [ "/var/lib/pgsql/data" ]