Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Adopt context relative to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed Apr 8, 2019
1 parent 38ceff6 commit bb0abae
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion containers/python-2/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
FROM python:2-slim

# Copy endpoint specific user settings overrides into container to specify Python path
COPY .devcontainer/settings.vscode.json /root/.vscode-remote/data/User/settings.json
COPY settings.vscode.json /root/.vscode-remote/data/User/settings.json

RUN pip install pylint

Expand Down
4 changes: 2 additions & 2 deletions containers/python-3-django/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
FROM python:3-slim

# Copy default endpoint specific user settings overrides into container to specify Python path
COPY .devcontainer/settings.vscode.json /root/.vscode-remote/data/User/settings.json
COPY settings.vscode.json /root/.vscode-remote/data/User/settings.json

ENV PYTHONUNBUFFERED 1

RUN mkdir /workspace
WORKDIR /workspace

# Install pylint and Django
COPY .devcontainer/requirements.txt /workspace/
COPY requirements.txt /workspace/
RUN pip install -r requirements.txt && rm -f requirements.txt

# Install git
Expand Down
2 changes: 1 addition & 1 deletion containers/python-3/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
FROM python:3-slim

# Copy default endpoint specific user settings overrides into container to specify Python path
COPY .devcontainer/settings.vscode.json /root/.vscode-remote/data/User/settings.json
COPY settings.vscode.json /root/.vscode-remote/data/User/settings.json

RUN pip install pylint

Expand Down
2 changes: 1 addition & 1 deletion containers/rust/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
FROM rust:1

# Copy endpoint specific user setting overrides into container
COPY .devcontainer/settings.vscode.json /root/.vscode-remote/data/User/settings.json
COPY settings.vscode.json /root/.vscode-remote/data/User/settings.json

RUN rustup update
RUN rustup component add rls rust-analysis rust-src
Expand Down

0 comments on commit bb0abae

Please sign in to comment.