Skip to content

Commit 6851414

Browse files
committed
Fixing autocompletion not working in container
1 parent e185485 commit 6851414

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
Dockerfile
55
LICENSE
66
python-client/
7+
out/
78
README.md
89
test/

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.7.4-buster
1+
FROM python:3.9-buster
22

33
RUN useradd -ms /bin/bash user
44

@@ -9,7 +9,7 @@ RUN wget https://raw.githubusercontent.com/swagger-api/swagger-codegen/4607a90d7
99
pip install -r requirements.txt && rm -f requirements.txt && \
1010
mkdir /home/user/.bash_completion.d && \
1111
activate-global-python-argcomplete --dest=/home/user/.bash_completion.d/ && \
12-
echo "source ~/.bash_completion.d/python-argcomplete.sh" >> /home/user/.bashrc
12+
echo "source ~/.bash_completion.d/python-argcomplete" >> /home/user/.bashrc
1313

1414
USER user
1515

0 commit comments

Comments
 (0)