feat: migrate skills review desk to astro
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
# Reference copy: business-operation-manager Dockerfile_local (verified build 2026-08-12).
|
||||
# Derived from the stock Dockerfile by dropping the "test" stage (needs ARANGO_DB_HOSTNAME)
|
||||
# and the shared_resources COPY (CI-injected, absent locally).
|
||||
# Copy to ~/projects/business-operation-manager/Dockerfile_local to use.
|
||||
|
||||
FROM [REDACTED REGISTRY]/product/go-builder:1.26.4 AS base
|
||||
|
||||
ENV APP_ROOT=/tmp/project
|
||||
COPY . ${APP_ROOT}
|
||||
RUN chmod -R u+x ${APP_ROOT}/scripts && \
|
||||
chmod -R u+x ${APP_ROOT}/*.sh && \
|
||||
chgrp -R 0 ${APP_ROOT} && \
|
||||
chmod -R g=u ${APP_ROOT} /etc/passwd
|
||||
|
||||
FROM base AS build
|
||||
RUN cd ${APP_ROOT} && ${APP_ROOT}/application_build.sh
|
||||
|
||||
FROM [REDACTED REGISTRY]/netcracker/qubership-core-base:2.3.7 AS release
|
||||
|
||||
COPY --chown=10001:10001 --from=build /tmp/project/scripts/* /bin/
|
||||
COPY --chown=10001:10001 --from=build /tmp/project/business-operation-manager /bin/app
|
||||
COPY --chown=10001:10001 --from=build /tmp/project/resources/policies.conf /opt/policies/
|
||||
COPY --chown=10001:10001 --from=build /tmp/project/resources/business-operation-manager-public-api.json /opt/resources/business-operation-manager-public-api.json
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
USER 10001:10001
|
||||
|
||||
CMD [ "/bin/app" ]
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
# Local Dockerfile note — redacted review fixture
|
||||
|
||||
The original operational reference included internal source locations, registries,
|
||||
and environment details. Those details have been removed from the published review.
|
||||
|
||||
For a local Dockerfile guide, keep the general rule: use a project-owned local
|
||||
override only when the ordinary Dockerfile requires CI-only inputs. Keep runtime
|
||||
stages, explicit architecture handling, and the application artifact; never copy
|
||||
credentials, internal endpoints, or personal registry paths into the override.
|
||||
Reference in New Issue
Block a user