Spaces:
Runtime error
Runtime error
JJ Makely
commited on
Commit
•
13d0c3e
1
Parent(s):
2f097ea
adding additional dependencies missed in the 1st milestone
Browse files
README.md
CHANGED
@@ -2,10 +2,73 @@
|
|
2 |
|
3 |
## Milestone 1:
|
4 |
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
[Quick Start Development Container](https://code.visualstudio.com/docs/devcontainers/containers#_quick-start-try-a-development-container)
|
7 |
|
8 |
-
1. **F1**,
|
9 |
2. Select starting image
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
## Milestone 1:
|
4 |
|
5 |
+
## OS Version
|
6 |
+
|
7 |
+
Distributor ID: Ubuntu
|
8 |
+
Description: Ubuntu 20.04.6 LTS
|
9 |
+
Release: 20.04
|
10 |
+
Codename: focal
|
11 |
+
|
12 |
+
## Docker Installation
|
13 |
+
|
14 |
+
The instructions below will help install Docker on Ubuntu version 20.04.6
|
15 |
+
|
16 |
+
```
|
17 |
+
## Update list of existing packages
|
18 |
+
sudo apt update
|
19 |
+
|
20 |
+
## Install prerequisite packages
|
21 |
+
sudo apt install apt-transport-https ca-certificates curl software-properties-common
|
22 |
+
|
23 |
+
## Add GPG key for the official Docker repository
|
24 |
+
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
25 |
+
|
26 |
+
## Add the Docker repository to APT sources
|
27 |
+
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
|
28 |
+
|
29 |
+
## Prep to install from docker repo
|
30 |
+
apt-cache policy docker-ce
|
31 |
+
|
32 |
+
## Install docker
|
33 |
+
sudo apt install docker-ce
|
34 |
+
|
35 |
+
## Check if docker is running
|
36 |
+
sudo systemctl status docker
|
37 |
+
|
38 |
+
## Add sudo docker permissions to current user
|
39 |
+
sudo usermod -aG docker ${USER}
|
40 |
+
|
41 |
+
## Apply the user membership
|
42 |
+
su - ${USER}
|
43 |
+
|
44 |
+
## Check if the user has the docker group added
|
45 |
+
groups
|
46 |
+
```
|
47 |
+
|
48 |
+
## VS Code Installation
|
49 |
+
|
50 |
+
The instructions below will help install VS Code on Ubuntu version 20.04.6
|
51 |
+
|
52 |
+
(Download the VS Code .deb package (64 bit))[https://code.visualstudio.com/download]
|
53 |
+
|
54 |
+
```
|
55 |
+
## Navigate to downloads folder
|
56 |
+
cd ~/Downloads
|
57 |
+
|
58 |
+
## Install VS Code (replace <file> with the downloaded package)
|
59 |
+
sudo apt install ./<file>.deb
|
60 |
+
```
|
61 |
+
|
62 |
+
## Creating a development environment with docker
|
63 |
+
|
64 |
[Quick Start Development Container](https://code.visualstudio.com/docs/devcontainers/containers#_quick-start-try-a-development-container)
|
65 |
|
66 |
+
1. **F1**, _Dev Containers: Open Folder in Container..._
|
67 |
2. Select starting image
|
68 |
|
69 |
+
Some notable images worth using are:
|
70 |
+
|
71 |
+
- Alpine: Barebones Linux OS
|
72 |
+
- Python3: Container for developing Python 3 Applications
|
73 |
+
|
74 |
+
![](./milestone-1.png)
|