mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-26 14:45:42 +03:00
38 lines
1.5 KiB
Docker
38 lines
1.5 KiB
Docker
FROM epicmorg/prod
|
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
##################################################################
|
|
# Build-time metadata as defined at http://label-schema.org
|
|
##################################################################
|
|
ARG BUILD_DATE=today
|
|
ARG VCS_REF=master
|
|
ARG VERSION=latest
|
|
LABEL org.label-schema.build-date=$BUILD_DATE \
|
|
org.label-schema.name="Docker Scripts" \
|
|
org.label-schema.description="Image for our docker containers." \
|
|
org.label-schema.url="https://ww.epicm.org/" \
|
|
org.label-schema.vcs-ref=$VCS_REF \
|
|
org.label-schema.vcs-url="https://github.com/EpicMorg/docker-scripts" \
|
|
org.label-schema.vendor="EpicMorg" \
|
|
org.label-schema.version=$VERSION \
|
|
org.label-schema.schema-version="1.0"
|
|
|
|
##################################################################
|
|
# sid sources list
|
|
##################################################################
|
|
RUN rm /etc/apt/sources.list
|
|
COPY sources.list /etc/apt/sources.list
|
|
RUN apt update && \
|
|
apt autoremove -y && \
|
|
apt dist-upgrade -y && \
|
|
apt autoremove -y
|
|
|
|
##################################################################
|
|
# cleaninig up
|
|
##################################################################
|
|
RUN apt clean -y && \
|
|
apt autoclean -y && \
|
|
rm -rfv /var/lib/apt/lists/* && \
|
|
rm -rfv /var/cache/apt/archives/*.deb
|