Skip to content

Commit e119944

Browse files
Merge pull request #21 from devlinglasman/add-week-6
week 6
2 parents 4cb8a3c + 57c110f commit e119944

File tree

4 files changed

+51
-0
lines changed

4 files changed

+51
-0
lines changed

2021-Mar-Calendar.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
| 3 | 1.5, 1.6 | Andrew |
66
| 4 | 1.7, 1.8 | Priya |
77
| 5 | 1.9, 1.10 | Martin |
8+
| 6 | 1.11, 1.12, 1.13 | Devlin |
9+

part_1/1-11.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
# 1.11: Spring
4+
#
5+
# Lets create a Dockerfile for a Java Spring project: github page
6+
#
7+
# The setup should be straightforward with the README instructions. Tips to get you started:
8+
#
9+
# Use openjdk image FROM openjdk:_tag_ to get java instead of installing it manually. Pick the tag by using the README and dockerhub page.
10+
#
11+
# You’ve completed the exercise when you see a ‘Success’ message in your browser.
12+

part_1/1-12.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
3+
# 1.12: Hello, frontend!
4+
#
5+
# This exercise is mandatory
6+
#
7+
# A good developer creates well written READMEs that can be used to create Dockerfiles with ease.
8+
#
9+
# Clone, fork or download the project from https://github.com/docker-hy/material-applications/tree/main/example-frontend.
10+
#
11+
# Create a Dockerfile for the project (example-frontend) and give a command so that the project runs in a docker container with port 5000 exposed and published so when you start the container and navigate to http://localhost:5000 you will see message if you’re successful.
12+
#
13+
# Submit the Dockerfile.
14+
#
15+
# As in other exercises, do not alter the code of the project
16+
#
17+
# TIP: The project has install instructions in README.
18+
#
19+
# TIP: Note that the app starts to accept connections when “Accepting connections at http://localhost:5000” has been printed to the screen, this takes a few seconds
20+
#
21+
# TIP: You do not have to install anything new outside containers.
22+

part_1/1-13.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
# 1.13: Hello, backend!
4+
#
5+
# This exercise is mandatory
6+
#
7+
# Clone, fork or download a project from https://github.com/docker-hy/material-applications/tree/main/example-backend.
8+
#
9+
# Create a Dockerfile for the project (example-backend) and give a command so that the project runs in a docker container with port 8080 published.
10+
#
11+
# When you start the container and navigate to http://localhost:8080/ping you should get a “pong” as response.
12+
#
13+
# Submit the Dockerfile and the command used.
14+
#
15+
# Do not alter the code of the project

0 commit comments

Comments
 (0)