mirror of
https://github.com/foomo/contentful-cli.git
synced 2025-10-16 12:25:34 +00:00
add dockerfile
This commit is contained in:
parent
b7c719e0f8
commit
1a2a9c7c35
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM alpine:3.19.1
|
||||
|
||||
ENV CONTENTFUL_VERSION="3.3.1"
|
||||
|
||||
RUN wget -O contentful.zip https://github.com/contentful/contentful-cli/releases/download/v${CONTENTFUL_VERSION}/contentful-cli-linux-${CONTENTFUL_VERSION}.zip && \
|
||||
unzip contentful.zip && \
|
||||
rm contentful.zip && \
|
||||
chmod +x contentful && \
|
||||
mv contentful /bin
|
||||
|
||||
RUN adduser -D contentful
|
||||
USER contentful
|
||||
Loading…
Reference in New Issue
Block a user