reduced layers, made compose file pull instead of building

This commit is contained in:
Rune Henriksen committed 2019-01-12 00:08:41 +01:00
1 parent 7edf12330c
commit 6285d717f9
2 files changed
+2 -5

No files matched your search

+1 -4
View File
@@ -1,9 +1,6 @@
FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y curl lsb-release
RUN apt-get install -y zfs-dkms zfsutils-linux
RUN apt-get -y update
RUN apt-get update && apt-get install -y curl lsb-release zfs-dkms zfsutils-linux && apt-get -y update
RUN rm -rf /var/lib/apt/lists/*
ENV zfswatcher_package="zfswatcher_0.4.6-1_amd64.deb" \
+1 -1
View File
@@ -2,8 +2,8 @@ version: '2'
services:
zfswatcher:
container_name: zfswatcher
image: pectojin/zfswatcher:latest
build: .
volumes:
- /etc/zfswatcher:/zfswatcher_config:rw
- /var/log/zfswatcher/zfswatcher.log:/var/log/zfswatcher/zfswatcher.log:rw