Skip to content

Commit fbb2f2b

Browse files
committed
refactor: migrate to ruby:2.7 for Dockerfile
1 parent bde707e commit fbb2f2b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.7-slim
1+
FROM ruby:2.7
22

33
LABEL version="0.1.0"
44
LABEL repository="https://github.com/jeffreytse/jekyll-deploy-action"
@@ -8,19 +8,17 @@ LABEL maintainer="Jeffrey Tse <jeffreytse.mail@gmail.com>"
88
# Update packages database
99
RUN apt-get update
1010

11-
RUN apt-get install -qq -y git-all build-essential
11+
# Installing git package
12+
RUN apt-get install -qq -y git-all
1213

1314
# Allow for timezone setting in _config.yml
1415
RUN apt-get install -qq -y tzdata
1516

1617
# Installing imagemagick library
1718
RUN apt-get install -qq -y pkg-config libmagick++-dev
1819

19-
# Installing gsl library for gsl
20-
RUN apt-get install -qq -y libgsl-dev
21-
22-
# Installing atlas library for nmatrix
23-
RUN apt-get install -qq -y libatlas-base-dev
20+
# Installing gsl and atlas libraries
21+
RUN apt-get install -qq -y libgsl-dev libatlas-base-dev
2422

2523
# debug
2624
RUN bundle version

0 commit comments

Comments
 (0)