Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant store files when starting integration test on gitlab runner #46

Open
apb12 opened this issue Dec 19, 2022 · 1 comment
Open

Cant store files when starting integration test on gitlab runner #46

apb12 opened this issue Dec 19, 2022 · 1 comment

Comments

@apb12
Copy link

apb12 commented Dec 19, 2022

Hi, i use this server in testcontainer and everythig works good when it on my local pc , but if i run build on gitlab test fails with this logs
image

i tried to add this evn pasv_promiscuous=yes to code, but it does not help

ftp = new FixedHostPortGenericContainer<>(
"delfer/alpine-ftp-server:latest")
.withExposedPorts(PORT)
.withFixedExposedPort(freePort, freePort)
.withEnv("USERS", USER + "|" + PASSWORD)
.withEnv("MIN_PORT", String.valueOf(freePort))
.withEnv("MAX_PORT", String.valueOf(freePort))
.withEnv("CONF_SET_PARMS","pasv_promiscuous=yes");

@delfer
Copy link
Owner

delfer commented Oct 30, 2023

Hello @apb12 ! It's look like you didn't set the correct ADDRESS env variable. At the same time CONF_SET_PARMS does not implemented and have no effect. If you want to change any parameter, you should replace vsftpd.conf file inside the container.

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

No branches or pull requests

2 participants