2020-01-30 12:28:56 +03:00
|
|
|
FROM epicmorg/prod
|
|
|
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2020-01-30 18:36:30 +03:00
|
|
|
##################################################################
|
|
|
|
# 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"
|
|
|
|
|
2020-01-30 12:28:56 +03:00
|
|
|
##################################################################
|
|
|
|
# sid sources list
|
|
|
|
##################################################################
|
|
|
|
RUN rm /etc/apt/sources.list
|
|
|
|
COPY sources.list /etc/apt/sources.list
|
2020-01-30 18:36:30 +03:00
|
|
|
RUN apt update && \
|
|
|
|
apt autoremove -y && \
|
|
|
|
apt dist-upgrade -y && \
|
|
|
|
apt autoremove -y
|
2020-01-30 12:28:56 +03:00
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# cleaninig up
|
|
|
|
##################################################################
|
|
|
|
RUN apt clean -y && \
|
|
|
|
apt autoclean -y && \
|
|
|
|
rm -rfv /var/lib/apt/lists/* && \
|
|
|
|
rm -rfv /var/cache/apt/archives/*.deb
|