FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
testcontainers-python/.devcontainer/Dockerfile at patch-1 · Tranquility2/testcontainers-python · GitHub
Tranquility2
/
testcontainers-python
Public
forked from
testcontainers/testcontainers-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
testcontainers-python
/
.devcontainer
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (16 loc) · 797 Bytes
Breadcrumbs
testcontainers-python
/
.devcontainer
/
Dockerfile
Copy path
File metadata and controls
20 lines (16 loc) · 797 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM
mcr.microsoft.com/devcontainers/python:1-3.11-bookworm
RUN
\
apt update && apt install bash-completion -y && \
pip install pre-commit && \
curl -sSL https://install.python-poetry.org | POETRY_HOME=/home/vscode/.local python3 -
RUN
\
echo >> /home/vscode/.bashrc && \
#
add completions to bashrc
#
see how ubuntu does it for reference:
#
https://git.launchpad.net/ubuntu/+source/base-files/tree/share/dot.bashrc
#
https://stackoverflow.com/a/68566555
echo
'if [ -f /etc/bash_completion ] && ! shopt -oq posix; then'
>> /home/vscode/.bashrc && \
echo
' . /etc/bash_completion'
>> /home/vscode/.bashrc && \
echo
'fi'
>> /home/vscode/.bashrc && \
echo >> /home/vscode/.bashrc && \
echo
'. <(poetry completions)'
>> /home/vscode/.bashrc
Back
|
FazBrowse Home
|
New Git URL