-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile
29 lines (21 loc) · 832 Bytes
/
Dockerfile
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
# GCP Client
#base image from https://github.com/phusion/baseimage-docker
FROM phusion/baseimage:0.9.10
# Maintainer
MAINTAINER Tobias Meissner "[email protected]"
# update system
RUN apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
# install some system tools
RUN apt-get install -y wget python
# install GCP client
RUN cd /opt && \
wget -c https://s3.amazonaws.com/connect.globusonline.org/linux/stable/globusconnectpersonal-latest.tgz && \
tar xzf globusconnectpersonal-latest.tgz
RUN rm /opt/globusconnectpersonal-latest.tgz
RUN mv /opt/globusconnectpersonal-* /opt/globusconnectpersonal
# Use baseimage-docker's bash.
CMD ["/bin/bash"]
# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Add GCP to PATH
ENV PATH /opt/globusconnectpersonal/:$PATH