Skip to content

Commit

Permalink
--chmod only works with buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening committed Feb 2, 2025
1 parent da932e8 commit c6646eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion galaxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,15 @@ ENV GALAXY_CONFIG_FILE=$GALAXY_CONFIG_DIR/galaxy.yml \
PG_CONF_DIR_DEFAULT=/etc/postgresql/$PG_VERSION/main/ \
PG_DATA_DIR_HOST=$EXPORT_DIR/postgresql/$PG_VERSION/main/

ADD --chmod=755 ./common_cleanup.sh /usr/bin/common_cleanup.sh
ADD ./common_cleanup.sh /usr/bin/common_cleanup.sh

RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup \
&& echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache \
&& echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/99no-install-recommends \
&& apt-get -qq update && apt-get install -y locales \
&& locale-gen en_US.UTF-8 && dpkg-reconfigure locales \
&& apt-get autoremove -y && apt-get clean \
&& chmod 755 /usr/bin/common_cleanup.sh \
&& /usr/bin/common_cleanup.sh

ADD ansible/ /ansible/
Expand Down

0 comments on commit c6646eb

Please sign in to comment.