Skip to content

Commit 628d814

Browse files
committed
added everything
1 parent e526421 commit 628d814

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

Diff for: .github/workflows/docker-publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
id: meta
6868
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
6969
with:
70-
images: ghcr.io/socstech/MODULE # THIS LINE MUST BE EDITED FOR NEW MODULES
70+
images: ghcr.io/socstech/cmp9065 # THIS LINE MUST BE EDITED FOR NEW MODULES
7171

7272

7373
# Build and push Docker image with Buildx (don't push on PR)
@@ -77,12 +77,12 @@ jobs:
7777
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
7878
with:
7979
context: .
80-
file: ./MODULE FOLDER/.devcontainer/Dockerfile # THIS LINE MUST BE EDITED FOR NEW MODULES
80+
file: ./CMP9065 Data Programming in Python/.devcontainer/Dockerfile # THIS LINE MUST BE EDITED FOR NEW MODULES
8181
push: ${{ github.event_name != 'pull_request' }}
8282
# THIS LINE MUST BE EDITED FOR NEW MODULES
8383
tags: |
8484
${{ steps.meta.outputs.tags }}
85-
ghcr.io/socstech/MODULE:latest
85+
ghcr.io/socstech/cmp9065:latest
8686
labels: ${{ steps.meta.outputs.labels }}
8787
cache-from: type=gha
8888
cache-to: type=gha,mode=max
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM python:3.12
22
RUN pip install --upgrade pip
3+
RUN pip install scikit-learn scikit-image seaborn matplotlib numpy pandas scipy
34
RUN pip install ipykernel
45
CMD ["clear"]

Diff for: MODULE/.devcontainer/devcontainer.json renamed to CMP9065 Data Programming in Python/.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "MODULE",
33

4-
"image": "ghcr.io/socstech/MODULE:latest",
4+
"image": "ghcr.io/socstech/cmp9065:latest",
55

66
//"build": { "dockerfile": "Dockerfile" },
77

File renamed without changes.

Diff for: README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# MODULE TITLE
2-
This repository houses the devcontainer and docker image for the MODULE module at the University of Lincoln.
1+
# CMP9065 - Data Programming in Python
2+
This repository houses the devcontainer and docker image for the Data Programming in Python module at the University of Lincoln.
33
## What is Docker?
44
Docker is a platform which allows developers to create and share containers.
55

@@ -28,13 +28,13 @@ These prerequisites are the same for every Computer Science module using Docker
2828

2929
1. Clone this repository to your computer by clicking the green 'Code' button, and clicking 'Download ZIP'.
3030
2. Extract the downloaded Zip file.
31-
3. Inside the extracted folder is a folder entitled 'MODULE FOLDER' which contains the .devcontainer folder. Move 'MODULE FOLDER' to wherever you like, this will be your working directory for this module.
31+
3. Inside the extracted folder is a folder entitled 'CMP9065 Data Programming in Python' which contains the .devcontainer folder. Move 'CMP9065 Data Programming in Python' to wherever you like, this will be your working directory for this module.
3232
4. Make sure Docker Desktop is running. You can minimise the window.
33-
5. Open VS Code, go to File -> Open Folder, and select your 'MODULE FOLDER' folder.
33+
5. Open VS Code, go to File -> Open Folder, and select your 'CMP9065 Data Programming in Python' folder.
3434
6. Click the 'Reopen in container' pop up in the bottom right corner of your VS Code window. If you do not see this pop up, press F1, and type 'Reopen in Container', and click on the 'Dev Containers: Reopen in Container' command.
3535
7. The Docker image will now be downloaded, and the container will be started. You can click 'show log' in the bottom right corner to see what is going on.
3636
8. Your docker container is now running! Within this VS Code window, you can now run workshop or assignment material exactly the same as in the computing labs.
37-
9. If we ever push an update to the container, you will need to go to Docker Desktop -> Images, find ghcr.io/socstech/MODULE, click the ... button, and click pull. This will pull the most recent version of the docker container. There should be Blackboard announcements letting you know if you ever need to do this, but it is good to do this step every time before you want to use the container.
37+
9. If we ever push an update to the container, you will need to go to Docker Desktop -> Images, find ghcr.io/socstech/cmp9065, click the ... button, and click pull. This will pull the most recent version of the docker container. There should be Blackboard announcements letting you know if you ever need to do this, but it is good to do this step every time before you want to use the container.
3838

3939
### Troubleshooting
4040

0 commit comments

Comments
 (0)