Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cern-drupal-distribution
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
drupal
paas
cern-drupal-distribution
Commits
589e2aa0
Commit
589e2aa0
authored
2 years ago
by
Subhashis Suara
Browse files
Options
Downloads
Patches
Plain Diff
Fix Launching of Terminal in code-server
parent
a3641831
Branches
Branches containing commit
No related tags found
1 merge request
!143
Draft: Add remote dev with php 8
Pipeline
#4375921
failed
2 years ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
images/Dockerfile-remote-dev-env
+5
-1
5 additions, 1 deletion
images/Dockerfile-remote-dev-env
with
5 additions
and
1 deletion
images/Dockerfile-remote-dev-env
+
5
−
1
View file @
589e2aa0
...
...
@@ -28,8 +28,12 @@ RUN echo $'bind-addr: 0.0.0.0:8888\ncert: false\nauth: none\ndisable-telemetry:
# https://coder.com/docs/code-server/latest/FAQ#how-does-the-config-file-work
ENV CODE_SERVER_CONFIG=$XDG_DATA_HOME/.config/code-server/config.yaml
# Set default shell for code-server
# https://stackoverflow.com/questions/72896811/how-to-fix-the-terminal-process-usr-sbin-nologin-failed-to-launch-exit-code/72897273
ENV SHELL /bin/bash
# Expose the code-server port
EXPOSE 8888
# Run code-server and open /app folder (Overridden by deployment command)
CMD ["/bin/bash", "-c", "code-server /app"]
CMD ["/bin/bash", "-c", "code-server /app"]
\ 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