Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Checkbashisms #47

Merged
merged 8 commits into from
Jan 25, 2021
Merged

Checkbashisms #47

merged 8 commits into from
Jan 25, 2021

Conversation

maelle
Copy link
Member

@maelle maelle commented Jan 7, 2020

start work on #46

@maelle
Copy link
Member Author

maelle commented Jan 7, 2020

A symlink won't work :-( "COPY failed: Forbidden path outside the build context: checkbashisms ()"

@maelle
Copy link
Member Author

maelle commented Jan 7, 2020

@gaborcsardi I've now built the Ubuntu image and it seems checkbashisms is there but I haven't used it

(base) maelle@maelle:~/Documents/R-hub/rhub-linux-builders$ docker run -it 979eb558e1b4
root@2cbd8a4ab959:/# checkbashisms
Usage: checkbashisms [-n] [-f] [-x] script ...
   or: checkbashisms --help
   or: checkbashisms --version
This script performs basic checks for the presence of bashisms
in /bin/sh scripts and the lack of bashisms in /bin/bash ones.

@maelle
Copy link
Member Author

maelle commented Jan 13, 2020

I did the same check as above for Fedora (built the image, ran it interactively to see whether checkbashisms was available, but didn't use checkbashisms).

@maelle
Copy link
Member Author

maelle commented Jan 21, 2020

The error I get for Debian is E: Unable to locate package texlive-generic-recommended

Why is it "texlive-generic-recommended" and not "texlive-plain-generic"?

@maelle
Copy link
Member Author

maelle commented Jan 21, 2020

@gaborcsardi the latest build of the Debian R-hub image on Docker was 9 months ago, were you able to build it locally since then? I'm hoping you might get the same error message. :-)

@maelle
Copy link
Member Author

maelle commented Jan 21, 2020

FWIW if I replace "texlive-generic-recommended" with "texlive-plain-generic" I can build the image, and in it I can find checkbashisms, but I suppose it might break LaTeX stuff at the same time.

@gaborcsardi
Copy link
Contributor

FWIW if I replace "texlive-generic-recommended" with "texlive-plain-generic" I can build the image, and in it I can find checkbashisms, but I suppose it might break LaTeX stuff at the same time.

Seems like that's the correct package indeed.

@maelle maelle marked this pull request as ready for review January 21, 2020 18:01
@@ -52,7 +57,7 @@ RUN apt-get update \
texlive-extra-utils \
texlive-fonts-extra \
texlive-fonts-recommended \
texlive-generic-recommended \
texlive-plain-generic \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made the change @gaborcsardi

@maelle
Copy link
Member Author

maelle commented Feb 4, 2020

@gaborcsardi is there anything else I should do?

Copy link
Contributor

@gaborcsardi gaborcsardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

debian/Dockerfile Outdated Show resolved Hide resolved
@maelle
Copy link
Member Author

maelle commented Mar 2, 2020

Can I merge this @gaborcsardi? And once it's merged, what does it take to deploy updated images?

@gaborcsardi
Copy link
Contributor

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants