Newer
Older
FROM node:14-buster-slim
RUN apt-get update && apt-get install -y --no-install-recommends git-core ca-certificates openssh-client \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN npm i -g standard-version
RUN npm i -g standard-version-updater-yaml
RUN git config --global user.email "ci-versioning@nexusmods.com"
RUN git config --global user.name "git"
RUN which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
RUN eval $(ssh-agent -s)
RUN mkdir -p ~/.ssh
RUN chmod 700 ~/.ssh
RUN touch ~/.ssh/known_hosts
RUN chmod 644 ~/.ssh/known_hosts
COPY src/ build/
CMD ["/build/release.sh"]