-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
6 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,3 +1,5 @@ | ||
# syntax=docker/dockerfile:1 | ||
|
||
ARG ALPINE_VERSION=3.17 | ||
|
||
# ======================================== | ||
|
@@ -11,11 +13,30 @@ RUN wget https://github.com/cli/cli/releases/download/v2.29.0/gh_2.29.0_linux_am | |
FROM alpine:${ALPINE_VERSION} | ||
ARG ALPINE_VERSION=3.17 | ||
|
||
RUN apk add --no-cache python3 py3-pip py3-yaml git curl findutils \ | ||
&& pip3 install \ | ||
git+https://github.com/alpine-ros/ros-abuild-docker.git \ | ||
rosdep \ | ||
rosinstall_generator | ||
RUN echo "http://alpine-ros.seqsense.org/v${ALPINE_VERSION}/backports" >> /etc/apk/repositories | ||
COPY <<EOF /etc/apk/keys/[email protected] | ||
-----BEGIN PUBLIC KEY----- | ||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnSO+a+rIaTorOowj3c8e | ||
5St89puiGJ54QmOW9faDsTcIWhycl4bM5lftp8IdcpKadcnaihwLtMLeaHNJvMIP | ||
XrgEEoaPzEuvLf6kF4IN8HJoFGDhmuW4lTuJNfsOIDWtLBH0EN+3lPuCPmNkULeo | ||
iS3Sdjz10eB26TYiM9pbMQnm7zPnDSYSLm9aCy+gumcoyCt1K1OY3A9E3EayYdk1 | ||
9nk9IQKA3vgdPGCEh+kjAjnmVxwV72rDdEwie0RkIyJ/al3onRLAfN4+FGkX2CFb | ||
a17OJ4wWWaPvOq8PshcTZ2P3Me8kTCWr/fczjzq+8hB0MNEqfuENoSyZhmCypEuy | ||
ewIDAQAB | ||
-----END PUBLIC KEY----- | ||
EOF | ||
|
||
RUN apk add --no-cache \ | ||
curl \ | ||
findutils \ | ||
git \ | ||
py3-pip \ | ||
py3-rosdep \ | ||
py3-rosinstall-generator \ | ||
py3-yaml \ | ||
python3 \ | ||
&& pip3 install $([ "${ALPINE_VERSION}" != '3.17' ] && echo -n '--break-system-packages') \ | ||
git+https://github.com/alpine-ros/ros-abuild-docker.git | ||
|
||
RUN rosdep init \ | ||
&& sed -i -e 's|ros/rosdistro/master|alpine-ros/rosdistro/alpine-custom-apk|' \ | ||
|
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