Skip to content

Commit

Permalink
Add missing scripts and configuration to GHA image builds for batch j…
Browse files Browse the repository at this point in the history
…obs. (#1943)

Co-authored-by: Martin Peck <[email protected]>
  • Loading branch information
sonoransun and Martin Peck authored Jul 4, 2024
1 parent 49b9bcb commit 10c2d31
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8
ENV LANGUAGE C.UTF-8

# Setup a user account
ENV DEPLOYUSER=checkdeploy
RUN useradd ${DEPLOYUSER} -s /bin/bash -m


RUN apt-get update -qq && apt-get install -y --no-install-recommends curl

RUN apt-get update && apt-get install --no-install-recommends -y \
Expand All @@ -26,6 +31,9 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
libtag1-dev \
lsof

# CMD and helper scripts
COPY --chown=root:root production/bin /opt/bin

# tx client
RUN curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash

Expand All @@ -47,4 +55,4 @@ RUN echo 'require "irb/ext/save-history"' > ~/.irbrc && \
RUN chmod +x /app/docker-entrypoint.sh
RUN chmod +x /app/docker-background.sh
EXPOSE 3000
CMD ["/app/docker-entrypoint.sh"]
CMD ["/app/docker-entrypoint.sh"]

0 comments on commit 10c2d31

Please sign in to comment.