Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bin/access-control-service.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ COPY --from=build /texera/access-control-service/LICENSE-binary /texera/LICENSE
COPY --from=build /texera/access-control-service/NOTICE-binary /texera/NOTICE
COPY --from=build /texera/licenses /texera/licenses
COPY --from=build /texera/DISCLAIMER /texera/

RUN groupadd --system --gid 1001 texera \
&& useradd --system --uid 1001 --gid texera --home-dir /texera --no-create-home texera \
&& chown -R texera:texera /texera
USER texera

CMD ["bin/access-control-service"]

EXPOSE 9096
5 changes: 5 additions & 0 deletions bin/agent-service.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ COPY NOTICE ./NOTICE
COPY DISCLAIMER ./DISCLAIMER
COPY licenses ./licenses

RUN addgroup -S -g 1001 texera \
&& adduser -S -u 1001 -G texera -h /app texera \
&& chown -R texera:texera /app
USER texera

EXPOSE 3001

CMD ["bun", "run", "src/server.ts"]
6 changes: 6 additions & 0 deletions bin/computing-unit-master.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ COPY --from=build /texera/amber/LICENSE-binary-combined /texera/LICENSE
COPY --from=build /texera/amber/NOTICE-binary /texera/NOTICE
COPY --from=build /texera/licenses /texera/licenses
COPY --from=build /texera/DISCLAIMER /texera/

RUN groupadd --system --gid 1001 texera \
&& useradd --system --uid 1001 --gid texera --home-dir /texera --no-create-home texera \
&& chown -R texera:texera /texera
USER texera

CMD ["bin/computing-unit-master"]

EXPOSE 8085
6 changes: 6 additions & 0 deletions bin/computing-unit-worker.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ COPY --from=build /texera/amber/LICENSE-binary-combined /texera/LICENSE
COPY --from=build /texera/amber/NOTICE-binary /texera/NOTICE
COPY --from=build /texera/licenses /texera/licenses
COPY --from=build /texera/DISCLAIMER /texera/

RUN groupadd --system --gid 1001 texera \
&& useradd --system --uid 1001 --gid texera --home-dir /texera --no-create-home texera \
&& chown -R texera:texera /texera
USER texera

CMD ["bin/computing-unit-worker"]

EXPOSE 8085
6 changes: 6 additions & 0 deletions bin/config-service.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ COPY --from=build /texera/config-service/LICENSE-binary /texera/LICENSE
COPY --from=build /texera/config-service/NOTICE-binary /texera/NOTICE
COPY --from=build /texera/licenses /texera/licenses
COPY --from=build /texera/DISCLAIMER /texera/

RUN groupadd --system --gid 1001 texera \
&& useradd --system --uid 1001 --gid texera --home-dir /texera --no-create-home texera \
&& chown -R texera:texera /texera
USER texera

CMD ["bin/config-service"]

EXPOSE 9094
6 changes: 6 additions & 0 deletions bin/file-service.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ COPY --from=build /texera/file-service/LICENSE-binary /texera/LICENSE
COPY --from=build /texera/file-service/NOTICE-binary /texera/NOTICE
COPY --from=build /texera/licenses /texera/licenses
COPY --from=build /texera/DISCLAIMER /texera/

RUN groupadd --system --gid 1001 texera \
&& useradd --system --uid 1001 --gid texera --home-dir /texera --no-create-home texera \
&& chown -R texera:texera /texera
USER texera

CMD ["bin/file-service"]

EXPOSE 9092
6 changes: 6 additions & 0 deletions bin/texera-web-application.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ COPY --from=build /texera/amber/LICENSE-binary-combined /texera/LICENSE
COPY --from=build /texera/amber/NOTICE-binary /texera/NOTICE
COPY --from=build /texera/licenses /texera/licenses
COPY --from=build /texera/DISCLAIMER /texera/

RUN groupadd --system --gid 1001 texera \
&& useradd --system --uid 1001 --gid texera --home-dir /texera --no-create-home texera \
&& chown -R texera:texera /texera /frontend
USER texera

CMD ["bin/texera-web-application"]

EXPOSE 8080
6 changes: 6 additions & 0 deletions bin/workflow-compiling-service.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ COPY --from=build /texera/workflow-compiling-service/LICENSE-binary /texera/LICE
COPY --from=build /texera/workflow-compiling-service/NOTICE-binary /texera/NOTICE
COPY --from=build /texera/licenses /texera/licenses
COPY --from=build /texera/DISCLAIMER /texera/

RUN groupadd --system --gid 1001 texera \
&& useradd --system --uid 1001 --gid texera --home-dir /texera --no-create-home texera \
&& chown -R texera:texera /texera
USER texera

CMD ["bin/workflow-compiling-service"]

EXPOSE 9090
6 changes: 6 additions & 0 deletions bin/workflow-computing-unit-managing-service.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ COPY --from=build /texera/computing-unit-managing-service/LICENSE-binary /texera
COPY --from=build /texera/computing-unit-managing-service/NOTICE-binary /texera/NOTICE
COPY --from=build /texera/licenses /texera/licenses
COPY --from=build /texera/DISCLAIMER /texera/

RUN groupadd --system --gid 1001 texera \
&& useradd --system --uid 1001 --gid texera --home-dir /texera --no-create-home texera \
&& chown -R texera:texera /texera
USER texera

CMD ["bin/computing-unit-managing-service"]

EXPOSE 8888
Loading