Skip to content

Commit

Permalink
Add "postCreateCommand": "make"
Browse files Browse the repository at this point in the history
  • Loading branch information
kasbohm committed May 16, 2024
1 parent 0c43df3 commit d4428c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
15 changes: 0 additions & 15 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
FROM mcr.microsoft.com/vscode/devcontainers/universal:1.7.5-linux

#ENV PYTHONUNBUFFERED 1

# [Optional] If your requirements rarely change, uncomment this section to add them to the image.
# COPY requirements.txt /tmp/pip-tmp/
# RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
# && rm -rf /tmp/pip-tmp

# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>


# Set environment variables to avoid interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -39,6 +27,3 @@ RUN apt-get install -y r-base
# # Install Lighttpd
# RUN apt-get update && \
# apt-get install -y lighttpd

# Start PostgreSQL and Lighttpd services
# CMD service postgresql start && lighttpd -D -f /etc/lighttpd/lighttpd.conf
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
// "version": "7.4",
// "extensionsExtra": "xdebug redis"
// }
}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// This can be used to network with other containers or the host.
// "forwardPorts": [5000, 5432],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "make",
"postCreateCommand": "make"

// Configure tool-specific properties.
// "customizations": {},
Expand Down

0 comments on commit d4428c6

Please sign in to comment.