bump firefox to 56.0

This commit is contained in:
Andy 2017-09-29 13:57:00 +02:00
parent 4e456f6d90
commit e8975f1f7d
3 changed files with 22 additions and 3 deletions

View File

@ -36,7 +36,7 @@ RUN echo "enable-shm = no" >> /etc/pulse/client.conf
# Mozilla Firefox
# Deps: bzip2 libgtk-3-0 libdbus-glib-1-2 libxt6
ENV FIREFOX_VER 54.0.1
ENV FIREFOX_VER 56.0
ADD https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VER/linux-x86_64/en-US/firefox-$FIREFOX_VER.tar.bz2 /tmp/firefox.tar.bz2
RUN cd /tmp && \
mkdir /opt/mozilla && \

20
Makefile Normal file
View File

@ -0,0 +1,20 @@
ifeq (, $(shell docker --version))
$(error "Please install docker")
endif
NS ?= andrey01
NAME ?= firefox
VERSION ?= 56.0
default: build
build:
docker build --pull -t $(NS)/$(NAME):$(VERSION) -t $(NS)/$(NAME):latest -f Dockerfile -- .
publish:
docker push $(NS)/$(NAME):$(VERSION)
docker push $(NS)/$(NAME):latest
clean:
docker rmi $(NS)/$(NAME):$(VERSION)
docker rmi $(NS)/$(NAME):latest

View File

@ -5,8 +5,7 @@ volumes:
services:
firefox:
# docker build -t local/firefox .
image: local/firefox
image: andrey01/firefox:56.0
network_mode: bridge
devices:
- /dev/dri