diff --git a/Dockerfile b/Dockerfile index 9913e6a..56866d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,16 @@ FROM ruby:3.3.6-alpine3.21 +ARG SMASHING_VERSION=1.3.5 + RUN apk add --no-cache build-base openssl-dev tzdata nodejs && \ gem update --system && \ gem install bundler && \ - gem install smashing -v 1.3.6 + gem install smashing -v $SMASHING_VERSION RUN mkdir /smashing && \ smashing new smashing && \ cd /smashing && \ + sed -i "s/smashing.*/&, \"${SMASHING_VERSION}\"/g" Gemfile && \ bundle && \ ln -s /smashing/dashboards /dashboards && \ ln -s /smashing/jobs /jobs && \ diff --git a/README.md b/README.md index 08be4b5..ed8aba3 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ # smashing [![build status](https://github.com/visibilityspots/dockerfile-smashing/actions/workflows/main.yml/badge.svg)](https://github.com/visibilityspots/dockerfile-smashing/actions/workflows/main.yml) +[![gitHub release](https://img.shields.io/github/v/release/visibilityspots/dockerfile-smashing)](https://github.com/visibilityspots/dockerfile-smashing/releases) [![docker image size](https://img.shields.io/docker/image-size/visibilityspots/smashing/latest)](https://hub.docker.com/r/visibilityspots/smashing) [![docker pulls](https://img.shields.io/docker/pulls/visibilityspots/smashing.svg)](https://hub.docker.com/r/visibilityspots/smashing/) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fvisibilityspots%2Fdockerfile-smashing.svg?type=shield&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2Fvisibilityspots%2Fdockerfile-smashing?ref=badge_shield&issueType=license) Run [smashing](https://github.com/Smashing/smashing) in a [Docker](http://docker.io/) container. diff --git a/goss.yaml b/goss.yaml index ddbefb6..a12948f 100644 --- a/goss.yaml +++ b/goss.yaml @@ -54,7 +54,7 @@ command: smashing --version: exit-status: 0 stdout: - - 1.3.6 + - 1.3.5 stderr: [] timeout: 0 process: