-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to latest Ubuntu version (20.04) as base image (#5)
* Switch to latest Ubuntu version (20.04) as base image
- Loading branch information
1 parent
7326579
commit 89947d7
Showing
3 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
FROM alpine:3.10.3 | ||
FROM ubuntu:20.04 | ||
|
||
LABEL MAINTAINER=<[email protected]> | ||
|
||
ARG ANSIBLE_VERSION=2.8.* | ||
|
||
RUN apk --update --no-cache add \ | ||
RUN apt update && apt -y install \ | ||
sudo \ | ||
wget \ | ||
openssl \ | ||
ca-certificates \ | ||
openssh-client \ | ||
python3 \ | ||
&& apk --no-cache --virtual build-dependencies add \ | ||
python3-dev \ | ||
python3-pip \ | ||
libffi-dev \ | ||
openssl-dev \ | ||
build-base \ | ||
&& pip3 install ansible==$ANSIBLE_VERSION \ | ||
&& apk del build-dependencies | ||
libssl-dev \ | ||
build-essential \ | ||
&& pip3 install ansible==$ANSIBLE_VERSION | ||
|
||
RUN ln -fsn /usr/bin/python3 /usr/bin/python | ||
RUN ln -fsn /usr/bin/pip3 /usr/bin/pip | ||
|
@@ -35,4 +35,4 @@ WORKDIR /ansible | |
|
||
ENTRYPOINT ["/docker-entrypoint.sh"] | ||
|
||
CMD ["/bin/ash"] | ||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters