Sign inSign up

sibdocker/secure-rest-api-spring-boot-starter-security

By sibdocker

•Updated over 7 years ago

Basic Authentication, clients send it’s Base64 encoded credentials with each request,using header

Image
1

324

sibdocker/secure-rest-api-spring-boot-starter-security repository overview

⁠Start with a base image containing Java runtime

FROM openjdk:8-jdk-alpine

⁠Add Maintainer Info

LABEL maintainer="[email protected]⁠"

⁠Add a volume pointing to /tmp

VOLUME /tmp

⁠Make port 8090 available to the world outside this container

EXPOSE 8090

⁠The application's jar file

ARG JAR_FILE=target/Secure-REST-API-using-Spring-Boot-Starter-Security-0.0.1-SNAPSHOT.jar

⁠Add the application's jar to the container

ADD ${JAR_FILE} Secure-REST-API-using-Spring-Boot-Starter-Security.jar

⁠Run the jar file

ENTRYPOINT ["java","-jar","/Secure-REST-API-using-Spring-Boot-Starter-Security.jar"]

Tag summary

Content type

Image

Digest

Size

330.4 MB

Last updated

over 7 years ago

docker pull sibdocker/secure-rest-api-spring-boot-starter-security