mirror of
https://github.com/imapsync/imapsync.git
synced 2025-06-07 05:05:23 +02:00
Fix broken Dockerfile
* Add missing \ * Dockerfile now built from repo root
This commit is contained in:
parent
f98c9946e5
commit
e160d25b6c
1 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
||||||
# $Id: Dockerfile,v 1.30 2020/03/26 07:15:04 gilles Exp gilles $
|
# $Id: Dockerfile,v 1.30 2020/03/26 07:15:04 gilles Exp gilles $
|
||||||
# I use the following command to build the image:
|
# I use the following command to build the image:
|
||||||
#
|
#
|
||||||
# docker build -t gilleslamiral/imapsync .
|
# docker build -t gilleslamiral/imapsync -f INSTALL.d/Dockerfile .
|
||||||
#
|
#
|
||||||
# where this Dockerfile is in the current directory
|
# where this Dockerfile is in the current directory
|
||||||
#
|
#
|
||||||
|
@ -27,13 +27,13 @@ LABEL maintainer="Gilles LAMIRAL <gilles@lamiral.info>" \
|
||||||
# Put a copy of the Dockerfile in the image itself
|
# Put a copy of the Dockerfile in the image itself
|
||||||
# It can help future maintenance, isn't it?
|
# It can help future maintenance, isn't it?
|
||||||
|
|
||||||
COPY Dockerfile /
|
COPY INSTALL.d/Dockerfile /
|
||||||
|
|
||||||
# Also put my local imapsync on /usr/bin/ for testing purpose
|
# Also put my local imapsync on /usr/bin/ for testing purpose
|
||||||
# renamed imapsync_local since would be erased by the wget
|
# renamed imapsync_local since would be erased by the wget
|
||||||
|
|
||||||
COPY imapsync /usr/bin/imapsync_local
|
COPY imapsync /usr/bin/imapsync_local
|
||||||
COPY prerequisites_imapsync /usr/bin/prerequisites_imapsync_local
|
COPY INSTALL.d/prerequisites_imapsync /usr/bin/prerequisites_imapsync_local
|
||||||
|
|
||||||
RUN set -xe && \
|
RUN set -xe && \
|
||||||
apt-get update \
|
apt-get update \
|
||||||
|
@ -76,9 +76,9 @@ RUN set -xe \
|
||||||
&& pwd \
|
&& pwd \
|
||||||
&& wget -N https://imapsync.lamiral.info/imapsync \
|
&& wget -N https://imapsync.lamiral.info/imapsync \
|
||||||
https://imapsync.lamiral.info/prerequisites_imapsync \
|
https://imapsync.lamiral.info/prerequisites_imapsync \
|
||||||
https://raw.githubusercontent.com/google/gmail-oauth2-tools/master/python/oauth2.py
|
https://raw.githubusercontent.com/google/gmail-oauth2-tools/master/python/oauth2.py \
|
||||||
&& mv imapsync oauth2.py /usr/bin/ \
|
&& mv imapsync oauth2.py /usr/bin/ \
|
||||||
&& chmod +x /usr/bin/imapsync /usr/bin/imapsync_local /usr/bin/oauth2.py # just_a_comment_to_force_update 2019_11_26_12_58_34
|
&& chmod +x /usr/bin/imapsync /usr/bin/imapsync_local /usr/bin/oauth2.py
|
||||||
|
|
||||||
|
|
||||||
USER nobody:nogroup
|
USER nobody:nogroup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue