Skip to content

Commit

Permalink
Fix extent0 permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
gcotelli committed Jan 12, 2024
1 parent e522ac7 commit 0494e13
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions source/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ CMD ["./stone-init.sh"]

FROM docker-gs64-server as docker-gs64-base

COPY --from=download --chown=${GS_USER}:users /tmp/extent0.dbf ${GEMSTONE_GLOBAL_DIR}/data/extent0.dbf
COPY --from=download \
--chown=${GS_USER}:users \
--chmod=ug+w \
/tmp/extent0.dbf ${GEMSTONE_GLOBAL_DIR}/data/extent0.dbf
CMD ["./stone-init.sh"]

#############################
Expand Down Expand Up @@ -163,7 +166,10 @@ COPY --chown=${GS_USER}:users Rowan.gs ${GEMSTONE_GLOBAL_DIR}/Rowan.gs
COPY --chown=${GS_USER}:users StdOutPrinter.gs ${GEMSTONE_GLOBAL_DIR}/StdOutPrinter.gs
COPY --chown=${GS_USER}:users StdOutTestReporter.gs ${GEMSTONE_GLOBAL_DIR}/StdOutTestReporter.gs

COPY --from=download --chown=${GS_USER}:users /tmp/extent0.rowan.dbf ${GEMSTONE_GLOBAL_DIR}/data/extent0.dbf
COPY --from=download \
--chown=${GS_USER}:users \
--chmod=ug+w \
/tmp/extent0.rowan.dbf ${GEMSTONE_GLOBAL_DIR}/data/extent0.dbf

USER ${GS_USER}
CMD ["./stone-init.sh"]
Expand Down

0 comments on commit 0494e13

Please sign in to comment.