comparison docker_legacy/media/Dockerfile @ 164:29873a41aae1

docker: new docker files are now in sat main repos, this one is legacy
author Goffi <goffi@goffi.org>
date Fri, 01 Jan 2021 18:33:52 +0100
parents
children
comparison
equal deleted inserted replaced
163:a63f6d360326 164:29873a41aae1
1 #################################################################
2 # #
3 # Salut à Toi/media #
4 # This Dockerfile build a « Salut à Toi » base image with media #
5 # Salut à Toi is a multi-frontends multi-purposes XMPP client #
6 # #
7 #################################################################
8
9 FROM salutatoi/base:latest
10
11 MAINTAINER Goffi <goffi@goffi.org>
12
13 RUN cd /usr/share/sat && hg clone https://repos.goffi.org/sat_media media
14
15 # ftp workflow is kept below on purpose, but we use currently hg for media
16 # WORKDIR /usr/share/sat/media_tmp
17 #
18 # # wget and tar are not installed, so we use python
19 # RUN python -c 'import urllib2,tarfile,cStringIO;tar=tarfile.open(fileobj=cStringIO.StringIO(urllib2.urlopen("ftp://ftp.goffi.org/sat_media/sat_media.tar.bz2").read()));tar.extractall()'
20 #
21 # # The media_tmp complication is due to an AUFS bug, see https://github.com/docker/docker/issues/4570
22 # WORKDIR /usr/share/sat/
23 # RUN mv media_tmp/sat_media* media && rmdir media_tmp