diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..59eecd7
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,27 @@
+FROM maven:3.8.6-eclipse-temurin-17-focal
+
+RUN apt-get update
+RUN apt-get install gpg -y
+
+ARG MAVEN_ACCOUNT_USR
+ARG MAVEN_ACCOUNT_PSW
+ARG REVISION
+ARG MAVEN_GPG_PASSPHRASE
+ARG MAVEN_GPG_KEYNAME
+ARG PROFILE
+ENV gpg_keyname=$MAVEN_GPG_KEYNAME
+ENV gpg_passphrase=$MAVEN_GPG_PASSPHRASE
+ENV server_username=$MAVEN_ACCOUNT_USR
+ENV server_password=$MAVEN_ACCOUNT_PSW
+
+COPY settings.xml /root/.m2/settings.xml
+COPY keypair.asc /tmp/keypair.asc
+RUN if [ "$PROFILE" = "ossrh" ]; then \
+ gpg --batch --import /tmp/keypair.asc; \
+ fi
+
+WORKDIR /build/
+
+COPY . .
+
+RUN mvn -Drevision=${REVISION} -P${PROFILE} clean deploy
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index e14d2ec..a0f0582 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,8 +56,26 @@
commons-lang3
3.12.0
-
+
+
+ dev
+
+
+ dev
+ Dev Profile
+ ${devProfileUrl}
+
+
+
+
+ dev
+ Dev Profile
+ ${devProfileUrlDeposit}
+
+
+
+
\ No newline at end of file
diff --git a/settings.xml b/settings.xml
new file mode 100644
index 0000000..29c8bee
--- /dev/null
+++ b/settings.xml
@@ -0,0 +1,18 @@
+
+
+
+ ossrh
+ ${server_username}
+ ${server_password}
+
+
+
+
+ ossrh
+
+ ${gpg_passphrase}
+ ${gpg_keyname}
+
+
+
+