diff --git a/devcontainer-api/Dockerfile b/devcontainer-api/Dockerfile index cdedfcc59..b67a131a8 100644 --- a/devcontainer-api/Dockerfile +++ b/devcontainer-api/Dockerfile @@ -32,7 +32,6 @@ RUN apt-get update \ RUN pip install --upgrade pip COPY devcontainer-api/scripts/notify-dev-entrypoint.sh /usr/local/bin/ -COPY devcontainer-api/scripts/notify-worker-entrypoint.sh /usr/local/bin/ ENV SHELL /bin/zsh diff --git a/devcontainer-api/scripts/notify-worker-entrypoint.sh b/devcontainer-api/scripts/notify-worker-entrypoint.sh deleted file mode 100755 index 5ae776548..000000000 --- a/devcontainer-api/scripts/notify-worker-entrypoint.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash -set -ex - -################################################################### -# This script will get executed *once* the Docker container has -# been built. Commands that need to be executed with all available -# tools and the filesystem mount enabled should be located here. -################################################################### - -# Define aliases -echo -e "\n\n# User's Aliases" >> ~/.zshrc -echo -e "alias fd=fdfind" >> ~/.zshrc -echo -e "alias l='ls -al --color'" >> ~/.zshrc -echo -e "alias ls='exa'" >> ~/.zshrc -echo -e "alias l='exa -alh'" >> ~/.zshrc -echo -e "alias ll='exa -alh@ --git'" >> ~/.zshrc -echo -e "alias lt='exa -al -T -L 2'" >> ~/.zshrc - -# # Kubectl aliases and command autocomplete -# echo -e "alias k='kubectl'" >> ~/.zshrc -# echo -e "alias k-staging='aws eks --region ca-central-1 update-kubeconfig --name notification-canada-ca-staging-eks-cluster'" >> ~/.zshrc -# echo -e "alias k-prod='aws eks --region ca-central-1 update-kubeconfig --name notification-canada-ca-production-eks-cluster'" >> ~/.zshrc -# echo -e "source <(kubectl completion zsh)" >> ~/.zshrc -# echo -e "complete -F __start_kubectl k" >> ~/.zshrc - -cd /workspace - -# Warm up git index prior to display status in prompt else it will -# be quite slow on every invocation of starship. -git status - -make generate-version-file -pip3 install -r requirements.txt -pip3 install -r requirements_for_test.txt - -# Install virtualenv to support running the isolated make freeze-requirements from within the devcontainer -pip3 install virtualenv - -# Update commit hash etc... -make generate-version-file - -# start listening to the queues -# make run-celery