mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
ci: install build-base in docker
This commit is contained in:
parent
423c3e053e
commit
3d20f52672
@ -5,7 +5,7 @@ ENV SEMAPHORE_VERSION="development" SEMAPHORE_ARCH="linux_amd64" \
|
||||
APP_ROOT="/go/src/github.com/ansible-semaphore/semaphore/"
|
||||
|
||||
# hadolint ignore=DL3013
|
||||
RUN apk add --no-cache gcc sshpass git mysql-client python3 py3-pip py-openssl openssl ca-certificates curl curl-dev openssh-client-default tini nodejs npm bash rsync && \
|
||||
RUN apk add --no-cache build-base sshpass git mysql-client python3 py3-pip py-openssl openssl ca-certificates curl curl-dev openssh-client-default tini nodejs npm bash rsync && \
|
||||
apk --update add --virtual build-dependencies python3-dev libffi-dev openssl-dev build-base &&\
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
|
@ -4,7 +4,7 @@ FROM golang:1.18.3-alpine3.16 as builder
|
||||
COPY ./ /go/src/github.com/ansible-semaphore/semaphore
|
||||
WORKDIR /go/src/github.com/ansible-semaphore/semaphore
|
||||
|
||||
RUN apk add --no-cache -U libc-dev curl nodejs npm git gcc && \
|
||||
RUN apk add --no-cache -U libc-dev curl nodejs npm git build-base && \
|
||||
./deployment/docker/prod/bin/install
|
||||
|
||||
FROM alpine:3.16 as runner
|
||||
|
@ -7,7 +7,7 @@ WORKDIR /go/src/github.com/ansible-semaphore/semaphore
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
|
||||
RUN apk add --no-cache -U libc-dev curl nodejs npm git gcc
|
||||
RUN apk add --no-cache -U libc-dev curl nodejs npm git build-base
|
||||
RUN ./deployment/docker/prod/bin/install ${TARGETOS} ${TARGETARCH}
|
||||
|
||||
FROM alpine:3.16 as runner
|
||||
|
Loading…
Reference in New Issue
Block a user