Skip to content

Commit

Permalink
fix(Dockerfile): not using alpine in builder
Browse files Browse the repository at this point in the history
Signed-off-by: Toni Tauro <[email protected]>
  • Loading branch information
eyenx committed Jan 30, 2023
1 parent 615fd29 commit bd6d4aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM ruby:alpine as builder
FROM ruby as builder

LABEL org.opencontainers.image.authors="Toni Tauro <[email protected]>"

COPY src /src

WORKDIR /src

RUN apk update && apk upgrade && \
apk add build-base git && gem install bundler && \
RUN apt update && apt full-upgrade -y && \
gem install bundler && \
bundle && bundle exec jekyll b

FROM nginx:alpine
Expand Down

0 comments on commit bd6d4aa

Please sign in to comment.