Skip to content

Commit

Permalink
Initial release for W23
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonHoffman committed Feb 13, 2023
0 parents commit fc18083
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM eecs388/project3

USER root

RUN cd /usr/share/john/src && \
./configure CFLAGS='-DJOHN_SYSTEMWIDE -DJOHN_SYSTEMWIDE_EXEC="\"/usr/share/john/run/john\"" -DJOHN_SYSTEMWIDE_HOME="\"/usr/share/john/run\""' && \
make -s clean && make -sj$(nproc)

USER eecs388

# If you need to do any additional setup for development
# in the container like installing additional programs,
# do it in this file so that the changes are persisted.
#
# NOTE: you should *NOT* be installing additional Go modules
# here; everything available to you in grading is already installed.
# Installing additional modules may cause your code to become ungradeable.
#
# Example: to install Emacs, we might add:
# RUN sudo apt-get update && sudo apt-get install -y emacs
11 changes: 11 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "EECS 388 Project 3",
"dockerComposeFile": "docker-compose.yml",
"service": "workspace",
"workspaceFolder": "/workspaces/project3",
"remoteUser": "eecs388",
"extensions": [
"ms-azuretools.vscode-docker",
"ms-python.python"
]
}
27 changes: 27 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
services:
wireshark:
image: eecs388/wireshark
restart: always
# Allocate sufficient memory to the Wireshark GUI process.
# If your machine is running out of memory, you might try decreasing this,
# though Wireshark may run into instability if you do so.
shm_size: 2g
# Access Wireshark via http://localhost:3880 in your browser,
# or by vnc://localhost:3881 in a VNC client.
ports:
- 3880:5800
- 3881:5900
volumes:
- ..:/workspaces/project3
- ./preferences:/config/xdg/config/wireshark/preferences
environment:
# Some sensible defaults to give Wireshark's interface enough room to breathe.
# Feel free to change as you wish.
- DISPLAY_WIDTH=1920
- DISPLAY_HEIGHT=1080
workspace:
build: .
volumes:
- ..:/workspaces/project3
# Prevent container from instantly exiting, allowing us to attach terminal
command: /bin/sh -c "sleep infinity"
3 changes: 3 additions & 0 deletions .devcontainer/preferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Make Wireshark's file open dialog open to your project folder.
gui.fileopen.style: SPECIFIED
gui.fileopen.dir: /workspaces/project3
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.defaultInterpreterPath": "/usr/bin/python3"
}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Project 3

Welcome to the USDCE!

0 comments on commit fc18083

Please sign in to comment.