Commit 8e66a2f9 authored by Konstantin Pavlov's avatar Konstantin Pavlov

Initial commit.

TAG := $(notdir $(CURDIR))-aarch64
DATE := $(shell date +'%Y%m%d%H%M%S')
REVISION := $(shell git log --pretty=format:'%h' -n 1)
.PHONY: build push
docker build -t $(TAG):$(REVISION) .
docker tag $(TAG):$(REVISION) $(REGISTRY)/$(TAG)
docker tag $(TAG):$(REVISION) $(REGISTRY)/$(TAG):$(DATE)
docker push $(REGISTRY)/$(TAG)
docker push $(REGISTRY)/$(TAG):$(DATE)
FROM debian:sid-20181112
MAINTAINER VideoLAN roots <>
ENV IMAGE_DATE=201811221600
# If someone wants to use VideoLAN docker images on a local machine and does
# not want to be disturbed by the videolan user, we should not take an uid/gid
# in the user range of main distributions, which means:
# - Debian based: <1000
# - RPM based: <500 (CentOS, RedHat, etc.)
RUN addgroup --quiet --gid ${VIDEOLAN_UID} videolan && \
adduser --quiet --uid ${VIDEOLAN_UID} --ingroup videolan videolan && \
echo "videolan:videolan" | chpasswd && \
echo "deb sid main" > /etc/apt/sources.list && \
apt-get update && \
apt-get install -y --no-install-suggests --no-install-recommends \
ca-certificates curl git-core build-essential nasm clang meson \
ninja-build && \
apt-get clean -y && rm -rf /var/lib/apt/lists/*
USER videolan
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment