Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
Unit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Reference and Helper Services
Unit
Commits
5273988e
Commit
5273988e
authored
4 months ago
by
Eugene Xiang
Committed by
Yunhua Koglin
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Runasnonroot
parent
dbe66d8a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!395
Runasnonroot
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NOTICE
+3
-3
3 additions, 3 deletions
NOTICE
provider/unit-aws/build-aws/Dockerfile
+5
-0
5 additions, 0 deletions
provider/unit-aws/build-aws/Dockerfile
with
8 additions
and
3 deletions
NOTICE
+
3
−
3
View file @
5273988e
...
...
@@ -161,7 +161,7 @@ The following software have components provided under the terms of this license:
- PowerMock (from http://www.powermock.org, https://repo1.maven.org/maven2/org/powermock/powermock-api-mockito)
- Proton-J (from https://repo1.maven.org/maven2/org/apache/qpid/proton-j)
- QpidJMS Client (from https://repo1.maven.org/maven2/org/apache/qpid/qpid-jms-client)
- Redisson (from http://redisson.org)
- Redisson (from http://redisson.org
, https://redisson.pro
)
- Retrofit (from https://github.com/square/retrofit, https://repo1.maven.org/maven2/com/squareup/retrofit2/retrofit)
- RxJava (from https://github.com/ReactiveX/RxJava)
- SnakeYAML (from http://code.google.com/p/snakeyaml/, http://www.snakeyaml.org, https://bitbucket.org/snakeyaml/snakeyaml)
...
...
@@ -279,7 +279,7 @@ The following software have components provided under the terms of this license:
- Netty/Codec/HTTP (from https://repo1.maven.org/maven2/io/netty/netty-codec-http)
- Old JAXB Core (from <https://eclipse-ee4j.github.io/jaxb-ri/>, https://eclipse-ee4j.github.io/jaxb-ri/, https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl)
- Plexus Common Utilities (from http://plexus.codehaus.org/plexus-utils, https://codehaus-plexus.github.io/plexus-utils/, https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils)
- Redisson (from http://redisson.org)
- Redisson (from http://redisson.org
, https://redisson.pro
)
- ReflectASM (from https://github.com/EsotericSoftware/reflectasm)
- Spring Core (from http://www.springframework.org, https://github.com/spring-projects/spring-framework, https://repo1.maven.org/maven2/org/springframework/spring-core)
...
...
@@ -308,7 +308,7 @@ The following software have components provided under the terms of this license:
- Hibernate Validator (from https://hibernate.org/validator, https://repo1.maven.org/maven2/org/hibernate/hibernate-validator, https://repo1.maven.org/maven2/org/hibernate/validator/hibernate-validator)
- LatencyUtils (from http://latencyutils.github.io/LatencyUtils/)
- Netty/Common (from https://repo1.maven.org/maven2/io/netty/netty-common)
- Redisson (from http://redisson.org)
- Redisson (from http://redisson.org
, https://redisson.pro
)
- reactive-streams (from http://www.reactive-streams.org/)
========================================================================
...
...
This diff is collapsed.
Click to expand it.
provider/unit-aws/build-aws/Dockerfile
+
5
−
0
View file @
5273988e
...
...
@@ -15,6 +15,10 @@
# https://docs.spring.io/spring-boot/docs/current/reference/html/deployment.html
FROM
public.ecr.aws/amazoncorretto/amazoncorretto:17
RUN
yum update
-y
&&
yum
install
-y
shadow-utils
\
&&
groupadd
-g
10001
-r
appgroup
\
&&
useradd
-M
-g
10001
-r
-u
10001 appuser
ARG
JAR_FILE=provider/unit-aws/target/*spring-boot.jar
#Default to using self signed generated TLS cert
...
...
@@ -25,4 +29,5 @@ COPY /data/unit_catalog_v2.json /data/unit_catalog_v2.json
COPY
/provider/unit-aws/build-aws/entrypoint.sh /entrypoint.sh
EXPOSE
8080
USER
10001:10001
ENTRYPOINT
["/bin/sh", "-c", ". /entrypoint.sh"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment