Skip to content

Commit 58054c1

Browse files
committed
(GH-42) Fix Dockerfile
Prior to this commit the docker build process fails with: `Error: unable to select packages` This commit fixes the above by using the official ruby image and pinning the version to 2.7.
1 parent 1175ccd commit 58054c1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
FROM alpine:3.10
1+
FROM ruby:2.7-alpine
22

3-
RUN apk add --no-cache ruby=2.5.7-r0 ruby-json=2.5.7-r0 && \
4-
mkdir /puppet-lint /puppet
3+
RUN mkdir /puppet-lint /puppet
54

65
VOLUME /puppet
76
WORKDIR /puppet

0 commit comments

Comments
 (0)