Add Dockerfile

This commit is contained in:
Nagy Tamás (T-bond) 2024-10-13 14:56:29 +02:00
commit e669ed34b0
8 changed files with 229 additions and 0 deletions

8
.idea/.gitignore generated vendored Normal file
View file

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

9
.idea/default-runner.iml generated Normal file
View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

4
.idea/encodings.xml generated Normal file
View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" native2AsciiForPropertiesFiles="true" />
</project>

174
.idea/misc.xml generated Normal file
View file

@ -0,0 +1,174 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectInspectionProfilesVisibleTreeState">
<entry key="Project Default">
<profile-state>
<expanded-state>
<State />
<State>
<id>Assignment issuesJava</id>
</State>
<State>
<id>CastNumeric issuesJava</id>
</State>
<State>
<id>Class structureJava</id>
</State>
<State>
<id>Code maturityJava</id>
</State>
<State>
<id>Code style issuesJava</id>
</State>
<State>
<id>Code style issuesJavaScript and TypeScript</id>
</State>
<State>
<id>Control flow issuesJava</id>
</State>
<State>
<id>Control flow issuesJavaScript and TypeScript</id>
</State>
<State>
<id>Cucumber</id>
</State>
<State>
<id>Declaration redundancyJava</id>
</State>
<State>
<id>ES2015 migration aidsJavaScript and TypeScript</id>
</State>
<State>
<id>GeneralJavaScript and TypeScript</id>
</State>
<State>
<id>Groovy</id>
</State>
<State>
<id>Internationalization</id>
</State>
<State>
<id>InternationalizationJava</id>
</State>
<State>
<id>JPA</id>
</State>
<State>
<id>JSP</id>
</State>
<State>
<id>JVM languages</id>
</State>
<State>
<id>Java</id>
</State>
<State>
<id>Java 11Java language level migration aidsJava</id>
</State>
<State>
<id>Java 14Java language level migration aidsJava</id>
</State>
<State>
<id>Java 16Java language level migration aidsJava</id>
</State>
<State>
<id>Java 5Java language level migration aidsJava</id>
</State>
<State>
<id>Java 7Java language level migration aidsJava</id>
</State>
<State>
<id>Java 8Java language level migration aidsJava</id>
</State>
<State>
<id>Java 9Java language level migration aidsJava</id>
</State>
<State>
<id>Java EE</id>
</State>
<State>
<id>Java language level migration aidsJava</id>
</State>
<State>
<id>JavaScript and TypeScript</id>
</State>
<State>
<id>JavadocJava</id>
</State>
<State>
<id>Kotlin</id>
</State>
<State>
<id>MethodNaming conventionsJava</id>
</State>
<State>
<id>Naming conventionsJava</id>
</State>
<State>
<id>Nullability problemsProbable bugsJava</id>
</State>
<State>
<id>Numeric issuesJava</id>
</State>
<State>
<id>Other problemsKotlin</id>
</State>
<State>
<id>PerformanceJava</id>
</State>
<State>
<id>Probable bugsGroovy</id>
</State>
<State>
<id>Probable bugsJava</id>
</State>
<State>
<id>Probable bugsKotlin</id>
</State>
<State>
<id>Properties files</id>
</State>
<State>
<id>RESTful Web Service (JAX-RS)</id>
</State>
<State>
<id>SQL</id>
</State>
<State>
<id>Spring</id>
</State>
<State>
<id>Spring BootSpring</id>
</State>
<State>
<id>Spring CoreSpring</id>
</State>
<State>
<id>Spring IntegrationSpring</id>
</State>
<State>
<id>Style issuesKotlin</id>
</State>
<State>
<id>Test frameworksJVM languages</id>
</State>
<State>
<id>TestNGJava</id>
</State>
<State>
<id>Verbose or redundant code constructsJava</id>
</State>
<State>
<id>XMLSpring CoreSpring</id>
</State>
</expanded-state>
</profile-state>
</entry>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="Azul 21" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="846000" />
</component>
</project>

8
.idea/modules.xml generated Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/default-runner.iml" filepath="$PROJECT_DIR$/.idea/default-runner.iml" />
</modules>
</component>
</project>

12
.idea/runConfigurations/Build_image.xml generated Normal file
View file

@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Build image" type="docker-deploy" factoryName="dockerfile" server-name="Docker">
<deployment type="dockerfile">
<settings>
<option name="imageTag" value="git.t-bond.hu/services/default-runner:latest" />
<option name="buildOnly" value="true" />
<option name="sourceFilePath" value="Dockerfile" />
</settings>
</deployment>
<method v="2" />
</configuration>
</component>

6
.idea/vcs.xml generated Normal file
View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

8
Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM alpine:3.20
RUN apk add --no-cache \
git \
nodejs \
lftp
USER 1000