Skip to content

Instantly share code, notes, and snippets.

@nickolasteixeira
Created January 18, 2020 00:30
Show Gist options
  • Save nickolasteixeira/ebdb7e58b1fd1ec9e933f4bbcf893675 to your computer and use it in GitHub Desktop.
Save nickolasteixeira/ebdb7e58b1fd1ec9e933f4bbcf893675 to your computer and use it in GitHub Desktop.
Dockerfile for OMSCS 6200 Project 1 with jwt token auth
FROM udacity/project-assistant-base:3.0
MAINTAINER fsgeek@gatech.edu
ARG develop
ARG gpgkeyfile
ENV DEBIAN_FRONTEND=noninteractive
RUN wget -O - https://ppa.bitanical.com/pward8@gatech.edu.gpg.key|apt-key add - && \
echo "deb https://ppa.bitanical.com/apt/debian bionic main" >> /etc/apt/sources.list.d/ppa.bitanical.list
RUN apt-get update && apt-get install -y \
libgmp-dev \
gcc-multilib \
valgrind \
portmap \
rpcbind \
libcurl4-openssl-dev \
bzip2 \
imagemagick \
libmagickcore-dev \
libssl-dev \
llvm \
net-tools \
libtool \
pkg-config \
grpc-cs6200 \
protobuf-cs6200 \
vim
RUN pip install --upgrade \
future \
cryptography \
pyopenssl \
ndg-httpsclient \
pyasn1 \
nelson
#copy all contents of your current directory to the container directory /home/student
#assuming that's where the root of your directory for p1 or any other projects related to 6200
COPY . /home/student
# for 2factor auth, go to this url and get get jwt tocket. https://bonnie.udacity.com/auth_tokens/two_factor
RUN mkdir ~/.nelson; touch ~/.nelson/gtomscs_jwt;
WORKDIR /home/student
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment