How can I add a footer to the bottom of each page of a postscript or pdf file in linux?

So I'd like to add a "footer" (an attribution) to the bottom of every page of a pdf file I am generating via postscript with groff in linux. I am converting the file from ps to pdf myself, with...

ImageMagick won't show Ghostscipt as delegate

Was trying to get ImageMagick to talk to Ghostscript using MacPorts in OSX Lion but it wouldn't have it. Used to have it working fine under Snow Leopard but something went amiss during Migration...

vim problems under cygwin on Windows 7

I cannot access vim or vi under the cygwin shell. The only available selection in the setup program under Editors is 'vim-minimal' which is allegedly installed (says 'Keep' beside it in the...

Python docstrings to GitHub README.md

How do I transcode Python documentation strings to a GitHub readme.md file? Even though it seems like something everyone does, I cannot seem to get a decent solution and I am assuming it should be...

How to install awscli using pip in library/node Docker image

I'm trying to install awscli using pip (as per Amazon's recommendations) in a custom Docker image that comes FROM library/node:6.11.2. Here's a repro: FROM library/node:6.11.2 RUN apt-get update...

How do I view Markdown file like a man page without making a temporary file?

I'd like to read Markdown files like man pages. I can do this: pandoc README.md -t man --standalone > tmp_file && man ./tmp_file However, I'd like to do this without creating a temporary file. I...

Embedding image from file in groff?

I tried .PSPIC image.eps and .PSPIC image.ps after converting a jpeg to postscript on converthub.com, compiled with groff -ms -p file.ms -Tpdf > file.pdf, and it shows up as a box with the correct...

Groff images on the same line?

Is there a way to put images on the same line as each other? I can get them on the same line as text using this code, which creates 2 lines with the text on the left and the images on the right,...

My groff install doesn't have -k flag or preconv, what to do?

I am a newbie at using unix tools, but I really want to use groff. However, problem is I write in spanish, and some accents aren't rendered right on the final pdf. When I use groff -mom -m pdfmark...

/bin/sh -c apk --no-cache returned non-zero code 4

Jenkins build is failing on all nodes except one I am getting below error while building a docker image Could not build image: The command '/bin/sh -c apk --no-cache update && apk --no-cache...

Script to run a script in a docker container

The idea is to run a R script in a docker container. The R script works fine. Here is a piece from this R script. The R sript create the file alpha.csv. The script doesn*t start. If I run the...

GitLab, Can't login in Docker registry

I am a GitLab User. I produce with a groff script a book with 900 pages. The output will be stored in the output folder. When an author make some changes and push into GitLab, the Docker image...

Mysql will not install due to mariadb install but mariadb is not installed

Been trying for hours to get mysql installed but it failed due to a conflict. This is a brand newly installed CentOS 8 x64 (latest) and it's fully updated. There are no custom packages installed...

Set papersize for pandoc with pdfroff

I'm using pandoc to convert markdown into PDFs. When using the LaTeX PDF engine (which is the default), I can specify a different paper size with -V geometry:a1paper. I want to use the pdfroff...

How to pass AWS credential when building Docker image in Jenkins?

Hi I am working in jenkins to build my AWS CDK project. I have created my docker file as below. FROM python:3.7.4-alpine3.10 ENV CDK_VERSION='1.14.0' RUN mkdir /cdk COPY ./requirements.txt...

Disable groff hyphenation at the command line

I am using the program groff to format text. groff is hyphenating words and breaking them onto multiple lines. I would not like it to do that. The manual outlines methods for disabling...

Is it safe to capture properties of `self` without capturing `self`?

You can copy this playground verbatim: var closures=[() -> Void]() class Thing { let name: String init(_ name: String) { self.name=name } } class RefThingWrapper { let thing: Thing ...

Running commands in a docker container in Jenkins

Currently I'm trying to run a container inside jenkins, to make calls to an aws ecr to find the latest image. To do this I need to set aws configure parameters, however I am at a loss why this...

How I can find file downloaded from s3 in Docker container?

I am writing Dockerfile in which trying to download file from s3 to local using aws cli and ADD those files to docker container as below following this page FROM nrel/energyplus:8.9.0 RUN apt-get...

How to install aws-cli on alpine?

I'm installing aws-cli on a docker swarm manager node running alpine (Linux 0317632a4ad9 4.9.59-moby #1 SMP Thu Mar 1 20:54:00 UTC 2018 x86_64 Linux). The aws-cli package for Alpine is currently...

aws command not found in docker

After successful installation of awscli in my alpine box, when I try to run it, it says it can't find the aws command. even I have included aws installed path in $PATH. This is my dockerfile: FROM...

Docker "ImportError: No module named boto" when Boto is installed

In my alpine based docker image, I have installed boto3.output of dockerbuild from docker-compose. Running setup.py install for s3cmd: started Running setup.py install for s3cmd: finished...

usermod: user 'ubuntu' does not exist in node image inside a docker

I want to install docker inside nodejs docker image: FROM node:latest RUN apt-get update && apt-get install -y curl git vim wget procps unzip groff RUN curl -sSL https://get.docker.com/ | sh &&...

Define jenkins tmp folder as persistence volume in stable/jenkins helm chart

I am able to mount jenkins-home Volume as PersistentVolumeClaim I am unable to mount the tmp Volume as Persistent volume from the values.yaml , it keeps appearing as EmptyDir and connected to...

Installing awscli on Alpine - how to fix "ModuleNotFoundError: No module named 'six'"

Context I had a dockerfile based on postgres:11-alpine that was working in the past (probably a few months since it was last built) with the following definition: FROM postgres:11-alpine RUN apk...

connect nodejs app to localstack s3 using docker compose

I am unable to bring up my app. it always fails with missing credentials. How do I connect localstack s3 to my application. I've tried setting the args and running aws configure in my dockerfile,...

How to cache maven repo when building Spring Boot docker image on Jenkins

I'm trying to build docker images for a Spring Boot application (2.3.6.RELEASE) using the spring-boot-maven-plugin build-image goal (buildpacks), but it's downloading the internet everytime! Is...

Terraform aws_eks_node_group creation error with launch_template "Unsupported - The requested configuration is currently not supported"

Objective of my effort: Create EKS node with Custom AMI(ubuntu) Issue Statement: On creating aws_eks_node_group along with launch_template, I am getting an error: Error: error waiting for EKS...

Docker error during connect: Post http://docker:2375/v1.40/build?

I am using docker+machine to run my gitlab ci/cd jobs. So my .gitlab-ci.yml looks like below: stages: - RUN_TESTS image: name: docker:stable services: - name: docker:dind variables: ...

import boto3 ImportError: No module named boto3 docker container

I am trying to deploying code from bitbucket to AWS Elastic beanstalk. While deploying code from bitbucket i am facing import boto3 problem. But in my old docker image working fine. OLD Docker...