Skip to content
Snippets Groups Projects

small buildbucket fixes

Merged Nick Bearson requested to merge 2022-03-18-buildbucket-tweaks into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
# To build:
# To build:
# docker build -t gitlab.ssec.wisc.edu:5555/cspp_geo/cspp-geo-gridded-glm/buildbucket:r$(date '+%Y%m%d') .
# docker build -t gitlab.ssec.wisc.edu:5555/cspp_geo/cspp-geo-gridded-glm/buildbucket:r$(date '+%Y%m%d') .
FROM centos:7
FROM --platform=linux/amd64 centos:7
WORKDIR /work
WORKDIR /work
@@ -12,7 +12,7 @@ RUN yum -y install which git && yum clean all
@@ -12,7 +12,7 @@ RUN yum -y install which git && yum clean all
# Download and install miniforge
# Download and install miniforge
# https://github.com/conda-forge/miniforge#miniforge
# https://github.com/conda-forge/miniforge#miniforge
RUN curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh && \
RUN curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh" && \
/bin/bash Mambaforge-$(uname)-$(uname -m).sh -b -p $HOME/miniforge && \
/bin/bash Mambaforge-$(uname)-$(uname -m).sh -b -p $HOME/miniforge && \
ln -s $HOME/miniforge/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
ln -s $HOME/miniforge/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
echo ". $HOME/miniforge/etc/profile.d/conda.sh" >> ~/.bashrc && \
echo ". $HOME/miniforge/etc/profile.d/conda.sh" >> ~/.bashrc && \
Loading