Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nlp2-docker-2024
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Surrey Shared Containers
nlp2-docker-2024
Commits
dd3ac4ec
Commit
dd3ac4ec
authored
1 year ago
by
erow
Browse files
Options
Downloads
Patches
Plain Diff
script for codespace to use tmp space.
parent
0723cffd
Branches
main
No related tags found
No related merge requests found
Pipeline
#73084
failed
11 months ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.devcontainer/devcontainer.json
+26
-0
26 additions, 0 deletions
.devcontainer/devcontainer.json
.devcontainer/tmpspace.sh
+2
-0
2 additions, 0 deletions
.devcontainer/tmpspace.sh
with
28 additions
and
0 deletions
.devcontainer/devcontainer.json
0 → 100644
+
26
−
0
View file @
dd3ac4ec
//
For
format
details,
see
https://aka.ms/devcontainer.json.
For
config
options,
see
the
//
README
at:
https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
{
"name"
:
"Existing Dockerfile"
,
//
"build"
:
{
//
//
Sets
the
run
context
to
one
level
up
instead
of
the
.devcontainer
folder.
//
"context"
:
".."
,
//
//
Update
the
'dockerFile'
property
if
you
aren't
using
the
standard
'Dockerfile'
filename.
//
"dockerfile"
:
"../.cde.Dockerfile"
//
},
//
Features
to
add
to
the
dev
container.
More
info:
https://containers.dev/features.
//
"features"
:
{},
//
Use
'forwardPorts'
to
make
a
list
of
ports
inside
the
container
available
locally.
//
"forwardPorts"
:
[],
//
Uncomment
the
next
line
to
run
commands
after
the
container
is
created.
"postCreateCommand"
:
"bash azure.sh"
//
Configure
tool-specific
properties.
//
"customizations"
:
{},
//
Uncomment
to
connect
as
an
existing
user
other
than
the
container
default.
More
info:
https://aka.ms/dev-containers-non-root.
//
"remoteUser"
:
"devcontainer"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.devcontainer/tmpspace.sh
0 → 100644
+
2
−
0
View file @
dd3ac4ec
sudo mv
/var/lib/docker/ /tmp/
sudo ln
-s
/tmp/docker /var/lib/docker
\ No newline at end of file
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