Skip to content

Commit

Permalink
devcontainer: bash entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
thomersch committed Jan 12, 2024
1 parent 18a89c1 commit d8425a6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get -y install curl make libgdal32
RUN pip install poetry==1.7.1

CMD /bin/bash
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"service": "osmcal",
"dockerComposeFile": "docker-compose.yml",
"workspaceFolder": "/app",
"postCreateCommand": "make install && cat .devcontainer/start-message.text && /bin/bash",
"postCreateCommand": "make install && cat .devcontainer/start-message.text",
"shutdownAction": "stopCompose"
}
8 changes: 8 additions & 0 deletions .devcontainer/start-message.text
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@

██████  ███████ ███  ███  ██████  █████  ██ 
██    ██ ██      ████  ████ ██      ██   ██ ██ 
██  ██ ███████ ██ ████ ██ ██  ███████ ██ 
██  ██      ██ ██  ██  ██ ██  ██   ██ ██ 
 ██████  ███████ ██      ██  ██████ ██  ██ ███████ 


Setup complete.

You can now run migrations (make migrate) and start the dev server (make devserver).

0 comments on commit d8425a6

Please sign in to comment.