hkayabilisim commited on
Commit
c4e6fc6
·
1 Parent(s): c400552

ui: added devcontainer support

Browse files

- added devcontainer support

- add a devcontiner button to the README
- switched to Python 3.10 with git-lfs support

.devcontainer/devcontainer.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2
+ // README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
3
+ {
4
+ "name": "Existing Dockerfile",
5
+ "build": {
6
+ // Sets the run context to one level up instead of the .devcontainer folder.
7
+ "context": "..",
8
+ // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
9
+ "dockerfile": "../Dockerfile"
10
+ }
11
+
12
+ // Features to add to the dev container. More info: https://containers.dev/features.
13
+ // "features": {},
14
+
15
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
16
+ // "forwardPorts": [],
17
+
18
+ // Uncomment the next line to run commands after the container is created.
19
+ // "postCreateCommand": "cat /etc/os-release",
20
+
21
+ // Configure tool-specific properties.
22
+ // "customizations": {},
23
+
24
+ // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
25
+ // "remoteUser": "devcontainer"
26
+ }
.github/dependabot.yml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for more information:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+ # https://containers.dev/guide/dependabot
6
+
7
+ version: 2
8
+ updates:
9
+ - package-ecosystem: "devcontainers"
10
+ directory: "/"
11
+ schedule:
12
+ interval: weekly
Dockerfile CHANGED
@@ -1,10 +1,10 @@
1
- FROM python:3.9
2
 
3
  RUN useradd -m -u 1000 user
4
 
5
  #USER root
6
  RUN apt update
7
- RUN apt -y install gdal-bin libgdal-dev
8
 
9
  USER user
10
 
 
1
+ FROM python:3.10
2
 
3
  RUN useradd -m -u 1000 user
4
 
5
  #USER root
6
  RUN apt update
7
+ RUN apt -y install gdal-bin libgdal-dev git-lfs
8
 
9
  USER user
10
 
README.md CHANGED
@@ -7,6 +7,8 @@ sdk: docker
7
  pinned: false
8
  ---
9
 
 
 
10
  ## Installation
11
  * Make sure your operating system has [GDAL](https://gdal.org/) installed.
12
  * Make sure you use Python > 3.8
 
7
  pinned: false
8
  ---
9
 
10
+ [![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/TomorrowsCities/tomorrowscities.git)
11
+
12
  ## Installation
13
  * Make sure your operating system has [GDAL](https://gdal.org/) installed.
14
  * Make sure you use Python > 3.8