Loosely pin the alpine dependencies
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
IamTheFij 2020-01-10 16:11:40 -08:00
parent 74cc80ac9a
commit 3fbd71bea2
2 changed files with 4 additions and 4 deletions

View File

@ -2,11 +2,11 @@ ARG REPO=library
# Build mole for all arch
FROM golang:1.12-alpine AS builder
ENV MOLE_VERSION=0.4.0
RUN apk add --no-cache git=2.22.0-r0 curl=7.66.0-r0 tar=1.32-r0
RUN apk add --no-cache git~=2.24 curl~=7.67 tar~=1.32
RUN mkdir /app
ENV MOLE_VERSION=0.4.0
RUN curl -L "https://github.com/davrodpin/mole/archive/v${MOLE_VERSION}.tar.gz" | tar zx -C /app
WORKDIR /app/mole-${MOLE_VERSION}

View File

@ -5,7 +5,7 @@ FROM ${REPO}/alpine:3.9
COPY --from=qemu-user-static /usr/bin/qemu-* /usr/bin/
# Install SSH and set up basic config
RUN apk add --no-cache openssh-server=7.9_p1-r6 augeas=1.11.0-r0
RUN apk add --no-cache openssh-server~=7.9 augeas~=1.11
# Create sshd configs
RUN mkdir /var/run/sshd