forked from alt/image-forge
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
0cccfd83d5 |
15
org/alt/golang/Dockerfile
Normal file
15
org/alt/golang/Dockerfile
Normal 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/*.*
|
24
org/alt/postgresql/Dockerfile
Normal file
24
org/alt/postgresql/Dockerfile
Normal 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" ]
|
||||
|
Reference in New Issue
Block a user