Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
Lab1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mohamad.alturky
Lab1
Commits
fa018a23
Commit
fa018a23
authored
Oct 27, 2023
by
mohamad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trying to Dockerize the Project >>> Trying
parent
4297c938
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
DockerFile
DockerFile
+4
-0
Main.java
src/main/java/threading/runners/Main.java
+1
-1
Main.class
target/classes/threading/runners/Main.class
+0
-0
No files found.
DockerFile
0 → 100644
View file @
fa018a23
FROM
openjdk:17
COPY
./target/ /tmp
WORKDIR
/tmp
ENTRYPOINT
["java","classes/runners/Main.class"]
\ No newline at end of file
src/main/java/threading/runners/Main.java
View file @
fa018a23
...
...
@@ -9,7 +9,7 @@ public class Main {
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
"Hello world!"
);
IPrimeNumbersExtractor
extractor
=
new
ParallelPrimeNumbersExtractor
(
4
);
Collection
<
Integer
>
collection
=
extractor
.
extract
(
0
,
100000
0000
);
Collection
<
Integer
>
collection
=
extractor
.
extract
(
0
,
100000
);
// for (Integer i : collection) {
// System.out.println(i);
// }
...
...
target/classes/threading/runners/Main.class
View file @
fa018a23
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment