Skip to content

Commit

Permalink
fix: Escape newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpenedblade committed Jul 24, 2023
1 parent aeb5d65 commit f4aec79
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM fedora:38
RUN dnf install -y koji git rpmdevtools rpm-sign mock ccache zstd &&\
dnf clean all &&\
echo 'config_opts["plugin_conf"]["package_state_enable"] = False
config_opts["macros"]["%_smp_mflags"] = "-j8"
config_opts["plugin_conf"]["ccache_opts"]["compress"] = True
config_opts["plugin_conf"]["root_cache_opts"]["compress_program"] = "zstd"
config_opts["plugin_conf"]["root_cache_opts"]["extension"] = ".zst"
config_opts["plugin_conf"]["hw_info_enable"] = False' > /etc/mock/site-defaults.cfg
SHELL ["/usr/bin/env", "bash", "-c"]
RUN dnf install -y koji git rpmdevtools rpm-sign mock ccache zstd && \
dnf clean all && \
echo "\
config_opts['plugin_conf']['package_state_enable'] = False \n\
config_opts['macros']['_smp_mflags'] = '-j8' \n\
config_opts['plugin_conf']['ccache_opts']['compress'] = True \n\
config_opts['plugin_conf']['root_cache_opts']['compress_program'] = 'zstd' \n\
config_opts['plugin_conf']['root_cache_opts']['extension'] = '.zst' \n\
config_opts['plugin_conf']['hw_info_enable'] = False\n" > /etc/mock/site-defaults.cfg
WORKDIR /repo

0 comments on commit f4aec79

Please sign in to comment.