Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cs350-container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kenneth Ryan Hancock
cs350-container
Commits
48d2621e
Unverified
Commit
48d2621e
authored
3 years ago
by
Ryan Hancock
Browse files
Options
Downloads
Patches
Plain Diff
Dockerfile changes
parent
0d6052a7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
os161-container/Dockerfile
+2
-0
2 additions, 0 deletions
os161-container/Dockerfile
os161-container/helpers.sh
+1
-0
1 addition, 0 deletions
os161-container/helpers.sh
with
3 additions
and
0 deletions
os161-container/Dockerfile
+
2
−
0
View file @
48d2621e
...
...
@@ -74,7 +74,9 @@ RUN rm -rf /os161-gdb /os161-gdb.tar.gz
RUN
cd
/os161/tools/bin
&&
sh
-c
'for i in mips-*; do ln -s /os161/tools/bin/$i /os161/tools/bin/cs350-`echo $i | cut -d- -f4-`; done'
RUN
python3
-m
pip
install
-U
prettytable
RUN
apt update
&&
apt
install sudo
COPY
evaluate.py /evalaute
RUN
useradd
-ms
/usr/sbin/nologin user
COPY
helpers.sh /helpers.sh
RUN
echo
"source /helpers.sh"
>>
~/.bashrc
COPY
run_assignment.sh /run_assignment.sh
...
...
This diff is collapsed.
Click to expand it.
os161-container/helpers.sh
+
1
−
0
View file @
48d2621e
...
...
@@ -24,6 +24,7 @@ build_k_helper() {
cd
$OS161_DIR
mkdir
/os-compile 2> /dev/null
cp
-r
/kernel/kern/
*
$OS161_DIR
/kern/
rm
-rf
$OS161_DIR
/kern/compile 2> /dev/null
set
-e
# Configure - step 1
echo
"[CS350]
$1
Configuring Kernel..."
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment