Skip to content

Commit

Permalink
catalogue hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
junior committed Jun 16, 2021
1 parent 236f27f commit ff45d62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions src/catalogue/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ RUN microdnf update && \
rm -rf /var/cache/dnf && \
rm -rf /var/cache/yum

RUN groupadd -r app -g $((1000 + $RANDOM)) && \
RUN groupadd -r app -g 687467 && \
useradd -u $((1000 + $RANDOM)) -r -g app -m -d /app -s /sbin/nologin -c "App user" app && \
chmod 755 /app
chmod 755 /app && \
chown -R app /usr/lib/oracle

WORKDIR /app
COPY --from=go-builder /catalogue /app/
COPY images/ /app/images/
COPY --from=go-builder --chown=app:app /catalogue /app/
COPY --chown=app:app images/ /app/images/

VOLUME ["/usr/lib/oracle/${clientVersion}/client64/lib/network/admin/"]
## Workaround to support current implementation. Will go away when fix issue #138
Expand Down
2 changes: 1 addition & 1 deletion src/catalogue/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.2
1.4.3

0 comments on commit ff45d62

Please sign in to comment.