Skip to content

Commit

Permalink
w6
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Jun 23, 2024
1 parent 7e51ece commit 68a9964
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions docker/dev/v6.14/Dockerfile.archlinux-min
Original file line number Diff line number Diff line change
Expand Up @@ -49,30 +49,32 @@ RUN git clone https://github.com/OctoMap/octomap.git -b 'v1.10.0' \
&& cmake --build octomap/build --target install --parallel \
&& rm -rf octomap

# Create a dummy package for octomap
# Switch to builder user to create and install the dummy package
USER builder

# Create a dummy package for octomap
RUN mkdir -p /tmp/dummy-octomap/aur/dummy-octomap && \
cd /tmp/dummy-octomap/aur/dummy-octomap && \
echo " \
# Maintainer: Jeongseok Lee <[email protected]> \n\
pkgname=dummy-octomap \n\
pkgver=1.9.8 \n\
pkgrel=1 \n\
pkgdesc='A dummy package to satisfy octomap dependency' \n\
arch=('any') \n\
provides=('octomap') \n\
conflicts=('octomap') \n\
source=() \n\
noextract=() \n\
md5sums=('SKIP') \n\
package() { \n\
: \n\
} \n\
" > PKGBUILD && \
cat <<EOF > PKGBUILD
# Maintainer: Jeongseok Lee <[email protected]>
pkgname=dummy-octomap
pkgver=1.9.8
pkgrel=1
pkgdesc='A dummy package to satisfy octomap dependency'
arch=('any')
provides=('octomap')
conflicts=('octomap')
source=()
noextract=()
md5sums=('SKIP')
package() {
:
}
EOF
makepkg -si --noconfirm && \
cd / && \
rm -rf /tmp/dummy-octomap

# Switch back to root to install remaining dependencies
USER root

Expand Down

0 comments on commit 68a9964

Please sign in to comment.