FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Distributed-Fiji/python2worker/Dockerfile at master · DistributedScience/Distributed-Fiji · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
DistributedScience
/
Distributed-Fiji
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Issues
0
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Distributed-Fiji
/
python2worker
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
69 lines (51 loc) · 1.12 KB
Breadcrumbs
Distributed-Fiji
/
python2worker
/
Dockerfile
Copy path
File metadata and controls
69 lines (51 loc) · 1.12 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#
#
- [ BROAD'21 ] -
#
#
A docker instance for accessing AWS resources
#
This wraps the Fiji docker registry
#
FROM
fiji/fiji:fiji-openjdk-8
USER
root
#
Install S3FS
RUN
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install \
automake \
autotools-dev \
g++ \
git \
libcurl4-gnutls-dev \
libfuse-dev \
libssl-dev \
libxml2-dev \
make pkg-config \
sysstat \
curl
WORKDIR
/usr/local/src
RUN
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
WORKDIR
/usr/local/src/s3fs-fuse
RUN
./autogen.sh
RUN
./configure
RUN
make
RUN
make install
#
Install AWS CLI
RUN
apt-get -y upgrade python2.7
RUN
apt-get -y install python-pip
RUN
\
pip install awscli
#
Install boto3
RUN
\
pip install -U boto3
#
Install watchtower for logging
RUN
\
pip install watchtower==0.8.0
#
Install pandas for optional file downloading
RUN
pip install pandas==0.24.2
#
SETUP NEW ENTRYPOINT
WORKDIR
/opt/fiji
COPY
fiji-worker.py .
COPY
instance-monitor.py .
COPY
run-worker.sh .
RUN
chmod 755 run-worker.sh
ENTRYPOINT
[
"./run-worker.sh"
]
CMD
[
""
]
Back
|
FazBrowse Home
|
New Git URL